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 TemplateSummarybuild()TemplateSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing this template.TemplateSummary.Buildercopy(TemplateSummary model)TemplateSummary.Builderdescription(String description)Brief description of the template.TemplateSummary.BuilderdisplayName(String displayName)Human-readable display name for the template.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.BuildertimeCreated(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)
Human-readable display name for the template.- 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.Allowable values: - ACTIVE
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
build
public TemplateSummary build()
-
copy
public TemplateSummary.Builder copy(TemplateSummary model)
-
-