Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Template |
build() |
Template.Builder |
categoryId(String categoryId)
Unique identifier for the category where the template is located.
|
Template.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing this template.
|
Template.Builder |
copy(Template o) |
Template.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Template.Builder |
description(String description)
Brief description of the template.
|
Template.Builder |
displayName(String displayName)
Human-readable name of the template.
|
Template.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags associated with the resource.
|
Template.Builder |
id(String id)
Unique identifier (OCID) for the template.
|
Template.Builder |
isFreeTier(Boolean isFreeTier)
whether the template will work for free tier tenancy.
|
Template.Builder |
lifecycleState(Template.LifecycleState lifecycleState)
The current lifecycle state of the template.
|
Template.Builder |
longDescription(String longDescription)
Detailed description of the template.
|
Template.Builder |
templateConfigSource(TemplateConfigSource templateConfigSource) |
Template.Builder |
timeCreated(Date timeCreated)
The date and time at which the template was created.
|
public Template.Builder id(String id)
Unique identifier (OCID) for the template.
id
- the value to setpublic Template.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this template.
compartmentId
- the value to setpublic 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).
categoryId
- the value to setpublic Template.Builder displayName(String displayName)
Human-readable name of the template.
displayName
- the value to setpublic Template.Builder description(String description)
Brief description of the template.
description
- the value to setpublic 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.
longDescription
- the value to setpublic Template.Builder isFreeTier(Boolean isFreeTier)
whether the template will work for free tier tenancy.
isFreeTier
- the value to setpublic 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
timeCreated
- the value to setpublic Template.Builder templateConfigSource(TemplateConfigSource templateConfigSource)
public Template.Builder lifecycleState(Template.LifecycleState lifecycleState)
The current lifecycle state of the template.
lifecycleState
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic Template build()
public Template.Builder copy(Template o)
Copyright © 2016–2022. All rights reserved.