Package com.oracle.bmc.optimizer.model
Class UpdateProfileDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.optimizer.model.UpdateProfileDetails.Builder
-
- Enclosing class:
- UpdateProfileDetails
public static class UpdateProfileDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
description
public UpdateProfileDetails.Builder description(String description)
Text describing the profile.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
aggregationIntervalInDays
public UpdateProfileDetails.Builder aggregationIntervalInDays(Integer aggregationIntervalInDays)
The time period over which to collect data for the recommendations, measured in number of days.- Parameters:
aggregationIntervalInDays
- the value to set- Returns:
- this builder
-
definedTags
public UpdateProfileDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"foo-namespace": {"bar-key": "value"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateProfileDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type, or namespace.For more information, see Resource Tags. Exists for cross-compatibility only.
Example: {"bar-key": "value"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
systemTags
public UpdateProfileDetails.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
levelsConfiguration
public UpdateProfileDetails.Builder levelsConfiguration(LevelsConfiguration levelsConfiguration)
-
targetCompartments
public UpdateProfileDetails.Builder targetCompartments(TargetCompartments targetCompartments)
-
targetTags
public UpdateProfileDetails.Builder targetTags(TargetTags targetTags)
-
name
public UpdateProfileDetails.Builder name(String name)
The name assigned to the profile.Avoid entering confidential information.
- Parameters:
name
- the value to set- Returns:
- this builder
-
build
public UpdateProfileDetails build()
-
copy
public UpdateProfileDetails.Builder copy(UpdateProfileDetails model)
-
-