public static class LifecycleStage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LifecycleStage.Builder |
archType(ArchType archType)
The CPU architecture of the managed instances in the lifecycle stage.
|
LifecycleStage |
build() |
LifecycleStage.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the lifecycle stage.
|
LifecycleStage.Builder |
copy(LifecycleStage model) |
LifecycleStage.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
LifecycleStage.Builder |
displayName(String displayName)
The user-friendly name for the lifecycle stage.
|
LifecycleStage.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
LifecycleStage.Builder |
id(String id)
The OCID
of the lifecycle stage.
|
LifecycleStage.Builder |
lifecycleEnvironmentId(String lifecycleEnvironmentId)
The OCID
of the lifecycle environment that contains the lifecycle stage.
|
LifecycleStage.Builder |
lifecycleState(LifecycleStage.LifecycleState lifecycleState)
The current state of the lifecycle stage.
|
LifecycleStage.Builder |
location(ManagedInstanceLocation location)
The location of managed instances associated with the lifecycle stage.
|
LifecycleStage.Builder |
managedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)
The list of managed instances associated with the lifecycle stage.
|
LifecycleStage.Builder |
osFamily(OsFamily osFamily)
The operating system of the managed instances in the lifecycle stage.
|
LifecycleStage.Builder |
rank(Integer rank)
User-specified rank for the lifecycle stage.
|
LifecycleStage.Builder |
softwareSourceId(SoftwareSourceDetails softwareSourceId) |
LifecycleStage.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
LifecycleStage.Builder |
timeCreated(Date timeCreated)
The time the lifecycle stage was created (in RFC
3339 format).
|
LifecycleStage.Builder |
timeModified(Date timeModified)
The time the lifecycle stage was last modified (in RFC
3339 format).
|
LifecycleStage.Builder |
vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the lifecycle stage.
|
public LifecycleStage.Builder id(String id)
The OCID of the lifecycle stage.
id
- the value to setpublic LifecycleStage.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the lifecycle stage.
compartmentId
- the value to setpublic LifecycleStage.Builder displayName(String displayName)
The user-friendly name for the lifecycle stage.
displayName
- the value to setpublic LifecycleStage.Builder lifecycleEnvironmentId(String lifecycleEnvironmentId)
The OCID of the lifecycle environment that contains the lifecycle stage.
lifecycleEnvironmentId
- the value to setpublic LifecycleStage.Builder rank(Integer rank)
User-specified rank for the lifecycle stage. Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
rank
- the value to setpublic LifecycleStage.Builder osFamily(OsFamily osFamily)
The operating system of the managed instances in the lifecycle stage.
osFamily
- the value to setpublic LifecycleStage.Builder archType(ArchType archType)
The CPU architecture of the managed instances in the lifecycle stage.
archType
- the value to setpublic LifecycleStage.Builder vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the lifecycle stage.
vendorName
- the value to setpublic LifecycleStage.Builder managedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)
The list of managed instances associated with the lifecycle stage.
managedInstanceIds
- the value to setpublic LifecycleStage.Builder location(ManagedInstanceLocation location)
The location of managed instances associated with the lifecycle stage.
location
- the value to setpublic LifecycleStage.Builder softwareSourceId(SoftwareSourceDetails softwareSourceId)
public LifecycleStage.Builder timeCreated(Date timeCreated)
The time the lifecycle stage was created (in RFC 3339 format).
timeCreated
- the value to setpublic LifecycleStage.Builder timeModified(Date timeModified)
The time the lifecycle stage was last modified (in RFC 3339 format).
timeModified
- the value to setpublic LifecycleStage.Builder lifecycleState(LifecycleStage.LifecycleState lifecycleState)
The current state of the lifecycle stage.
lifecycleState
- the value to setpublic LifecycleStage.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic LifecycleStage.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 LifecycleStage.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic LifecycleStage build()
public LifecycleStage.Builder copy(LifecycleStage model)
Copyright © 2016–2024. All rights reserved.