Package com.oracle.bmc.optimizer.model
Class CreateProfileDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.optimizer.model.CreateProfileDetails.Builder
-
- Enclosing class:
- CreateProfileDetails
public static class CreateProfileDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateProfileDetails.Builder compartmentId(String compartmentId)
The OCID of the tenancy.The tenancy is the root compartment.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
name
public CreateProfileDetails.Builder name(String name)
The name assigned to the profile.Avoid entering confidential information.
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public CreateProfileDetails.Builder description(String description)
Text describing the profile.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
aggregationIntervalInDays
public CreateProfileDetails.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 CreateProfileDetails.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 CreateProfileDetails.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 CreateProfileDetails.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 CreateProfileDetails.Builder levelsConfiguration(LevelsConfiguration levelsConfiguration)
-
targetCompartments
public CreateProfileDetails.Builder targetCompartments(TargetCompartments targetCompartments)
-
targetTags
public CreateProfileDetails.Builder targetTags(TargetTags targetTags)
-
build
public CreateProfileDetails build()
-
copy
public CreateProfileDetails.Builder copy(CreateProfileDetails model)
-
-