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 SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
compartmentIdpublic 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
 
 - 
namepublic CreateProfileDetails.Builder name(String name) The name assigned to the profile.Avoid entering confidential information. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CreateProfileDetails.Builder description(String description) Text describing the profile.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
aggregationIntervalInDayspublic 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
 
 - 
definedTagspublic 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
 
 - 
freeformTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
levelsConfigurationpublic CreateProfileDetails.Builder levelsConfiguration(LevelsConfiguration levelsConfiguration) 
 - 
targetCompartmentspublic CreateProfileDetails.Builder targetCompartments(TargetCompartments targetCompartments) 
 - 
targetTagspublic CreateProfileDetails.Builder targetTags(TargetTags targetTags) 
 - 
buildpublic CreateProfileDetails build() 
 - 
copypublic CreateProfileDetails.Builder copy(CreateProfileDetails model) 
 
- 
 
-