Class TemplateSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.model.TemplateSummary.Builder
-
- Enclosing class:
- TemplateSummary
public static class TemplateSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateSummary
build()
TemplateSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing this template.TemplateSummary.Builder
copy(TemplateSummary model)
TemplateSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.TemplateSummary.Builder
description(String description)
Brief description of the template.TemplateSummary.Builder
displayName(String displayName)
A user-friendly name.TemplateSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags associated with the resource.TemplateSummary.Builder
id(String id)
Unique identifier of the specified template.TemplateSummary.Builder
isFreeTier(Boolean isFreeTier)
whether the template will work for free tier tenancy.TemplateSummary.Builder
lifecycleState(Template.LifecycleState lifecycleState)
The current lifecycle state of the template.TemplateSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.TemplateSummary.Builder
timeCreated(Date timeCreated)
The date and time at which the template was created.
-
-
-
Method Detail
-
id
public TemplateSummary.Builder id(String id)
Unique identifier of the specified template.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public TemplateSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this template.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public 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
-
description
public TemplateSummary.Builder description(String description)
Brief description of the template.- Parameters:
description
- the value to set- Returns:
- this builder
-
isFreeTier
public TemplateSummary.Builder isFreeTier(Boolean isFreeTier)
whether the template will work for free tier tenancy.- Parameters:
isFreeTier
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
lifecycleState
public TemplateSummary.Builder lifecycleState(Template.LifecycleState lifecycleState)
The current lifecycle state of the template.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public TemplateSummary build()
-
copy
public TemplateSummary.Builder copy(TemplateSummary model)
-
-