Class Template.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcemanager.model.Template.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Templatebuild()Template.BuildercategoryId(String categoryId)Unique identifier for the category where the template is located.Template.BuildercompartmentId(String compartmentId)The OCID of the compartment containing this template.Template.Buildercopy(Template model)Template.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Template.Builderdescription(String description)Brief description of the template.Template.BuilderdisplayName(String displayName)A user-friendly name.Template.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags associated with the resource.Template.Builderid(String id)Unique identifier (OCID) for the template.Template.BuilderisFreeTier(Boolean isFreeTier)whether the template will work for free tier tenancy.Template.BuilderlifecycleState(Template.LifecycleState lifecycleState)The current lifecycle state of the template.Template.BuilderlongDescription(String longDescription)Detailed description of the template.Template.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.Template.BuildertemplateConfigSource(TemplateConfigSource templateConfigSource)Template.BuildertimeCreated(Date timeCreated)The date and time at which the template was created.
 
- 
- 
- 
Method Detail- 
idpublic Template.Builder id(String id) Unique identifier (OCID) for the template.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Template.Builder compartmentId(String compartmentId) The OCID of the compartment containing this template.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
categoryIdpublic Template.Builder categoryId(String categoryId) Unique identifier for the category where the template is located.Possible values are 0 (Quick Starts), 1 (Service), 2 (Architecture), and 3 (Private). - Parameters:
- categoryId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Template.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 Template.Builder description(String description) Brief description of the template.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
longDescriptionpublic Template.Builder longDescription(String longDescription) Detailed description of the template.This description is displayed in the Console page listing templates when the template is expanded. Avoid entering confidential information. - Parameters:
- longDescription- the value to set
- Returns:
- this builder
 
 - 
isFreeTierpublic Template.Builder isFreeTier(Boolean isFreeTier) whether the template will work for free tier tenancy.- Parameters:
- isFreeTier- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Template.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
 
 - 
templateConfigSourcepublic Template.Builder templateConfigSource(TemplateConfigSource templateConfigSource) 
 - 
lifecycleStatepublic Template.Builder lifecycleState(Template.LifecycleState lifecycleState) The current lifecycle state of the template.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Template.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 Template.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 Template.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 Template build() 
 - 
copypublic Template.Builder copy(Template model) 
 
- 
 
-