Class TemplateSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcemanager.model.TemplateSummary.Builder
 
- 
- Enclosing class:
- TemplateSummary
 
 public static class TemplateSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateSummarybuild()TemplateSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing this template.TemplateSummary.Buildercopy(TemplateSummary model)TemplateSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TemplateSummary.Builderdescription(String description)Brief description of the template.TemplateSummary.BuilderdisplayName(String displayName)A user-friendly name.TemplateSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags associated with the resource.TemplateSummary.Builderid(String id)Unique identifier of the specified template.TemplateSummary.BuilderisFreeTier(Boolean isFreeTier)whether the template will work for free tier tenancy.TemplateSummary.BuilderlifecycleState(Template.LifecycleState lifecycleState)The current lifecycle state of the template.TemplateSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.TemplateSummary.BuildertimeCreated(Date timeCreated)The date and time at which the template was created.
 
- 
- 
- 
Method Detail- 
idpublic TemplateSummary.Builder id(String id) Unique identifier of the specified template.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic TemplateSummary.Builder compartmentId(String compartmentId) The OCID of the compartment containing this template.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic TemplateSummary.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TemplateSummary.Builder description(String description) Brief description of the template.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
isFreeTierpublic TemplateSummary.Builder isFreeTier(Boolean isFreeTier) whether the template will work for free tier tenancy.- Parameters:
- isFreeTier- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic TemplateSummary.Builder timeCreated(Date timeCreated) The date and time at which the template was created.Format is defined by RFC3339. Example: 2020-11-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic TemplateSummary.Builder lifecycleState(Template.LifecycleState lifecycleState) The current lifecycle state of the template.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic TemplateSummary.Builder freeformTags(Map<String,String> freeformTags) Free-form tags associated with the resource.Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic TemplateSummary.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: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic TemplateSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic TemplateSummary build() 
 - 
copypublic TemplateSummary.Builder copy(TemplateSummary model) 
 
- 
 
-