Package com.oracle.bmc.optimizer.model
Class Profile.Builder
- java.lang.Object
- 
- com.oracle.bmc.optimizer.model.Profile.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Profile.BuilderaggregationIntervalInDays(Integer aggregationIntervalInDays)The time period over which to collect data for the recommendations, measured in number of days.Profilebuild()Profile.BuildercompartmentId(String compartmentId)The OCID of the tenancy.Profile.Buildercopy(Profile model)Profile.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Profile.Builderdescription(String description)Text describing the profile.Profile.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair applied without any predefined name, type, or namespace.Profile.Builderid(String id)The unique OCID of the profile.Profile.BuilderlevelsConfiguration(LevelsConfiguration levelsConfiguration)Profile.BuilderlifecycleState(LifecycleState lifecycleState)The profile’s current state.Profile.Buildername(String name)The name assigned to the profile.Profile.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Profile.BuildertargetCompartments(TargetCompartments targetCompartments)Profile.BuildertargetTags(TargetTags targetTags)Profile.BuildertimeCreated(Date timeCreated)The date and time the profile was created, in the format defined by RFC3339.Profile.BuildertimeUpdated(Date timeUpdated)The date and time the profile was last updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic Profile.Builder id(String id) The unique OCID of the profile.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Profile.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 Profile.Builder name(String name) The name assigned to the profile.Avoid entering confidential information. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Profile.Builder description(String description) Text describing the profile.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
aggregationIntervalInDayspublic Profile.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 Profile.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 Profile.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 Profile.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 Profile.Builder levelsConfiguration(LevelsConfiguration levelsConfiguration) 
 - 
targetCompartmentspublic Profile.Builder targetCompartments(TargetCompartments targetCompartments) 
 - 
targetTagspublic Profile.Builder targetTags(TargetTags targetTags) 
 - 
lifecycleStatepublic Profile.Builder lifecycleState(LifecycleState lifecycleState) The profile’s current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Profile.Builder timeCreated(Date timeCreated) The date and time the profile was created, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Profile.Builder timeUpdated(Date timeUpdated) The date and time the profile was last updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic Profile build() 
 - 
copypublic Profile.Builder copy(Profile model) 
 
- 
 
-