public static class TemplateSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TemplateSummary |
build() |
TemplateSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing this template.
|
TemplateSummary.Builder |
copy(TemplateSummary model) |
TemplateSummary.Builder |
description(String description)
Brief description of the template.
|
TemplateSummary.Builder |
displayName(String displayName)
Human-readable display name for the template.
|
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 |
timeCreated(Date timeCreated)
The date and time at which the template was created.
|
public TemplateSummary.Builder id(String id)
Unique identifier of the specified template.
id
- the value to setpublic TemplateSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this template.
compartmentId
- the value to setpublic TemplateSummary.Builder displayName(String displayName)
Human-readable display name for the template.
displayName
- the value to setpublic TemplateSummary.Builder description(String description)
Brief description of the template.
description
- the value to setpublic TemplateSummary.Builder isFreeTier(Boolean isFreeTier)
whether the template will work for free tier tenancy.
isFreeTier
- the value to setpublic 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
timeCreated
- the value to setpublic TemplateSummary.Builder lifecycleState(Template.LifecycleState lifecycleState)
The current lifecycle state of the template. Allowable values: - ACTIVE
lifecycleState
- the value to setpublic TemplateSummary build()
public TemplateSummary.Builder copy(TemplateSummary model)
Copyright © 2016–2024. All rights reserved.