public static class LifecycleEnvironment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LifecycleEnvironment.Builder |
archType(ArchType archType)
The CPU architecture of the managed instances in the lifecycle environment.
|
LifecycleEnvironment |
build() |
LifecycleEnvironment.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the lifecycle environment.
|
LifecycleEnvironment.Builder |
copy(LifecycleEnvironment model) |
LifecycleEnvironment.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
LifecycleEnvironment.Builder |
description(String description)
User-specified information about the lifecycle environment.
|
LifecycleEnvironment.Builder |
displayName(String displayName)
The user-friendly name for the lifecycle environment.
|
LifecycleEnvironment.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
LifecycleEnvironment.Builder |
id(String id)
The OCID
of the lifecycle environment.
|
LifecycleEnvironment.Builder |
lifecycleState(LifecycleEnvironment.LifecycleState lifecycleState)
The current state of the lifecycle environment.
|
LifecycleEnvironment.Builder |
location(ManagedInstanceLocation location)
The location of managed instances attached to the lifecycle environment.
|
LifecycleEnvironment.Builder |
managedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)
List of managed instance
OCIDs
assigned to the lifecycle stage.
|
LifecycleEnvironment.Builder |
osFamily(OsFamily osFamily)
The operating system of the managed instances in the lifecycle environment.
|
LifecycleEnvironment.Builder |
stages(List<LifecycleStage> stages)
User-specified list of lifecycle stages used within the lifecycle environment.
|
LifecycleEnvironment.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
LifecycleEnvironment.Builder |
timeCreated(Date timeCreated)
The time the lifecycle environment was created (in RFC
3339 format).
|
LifecycleEnvironment.Builder |
timeModified(Date timeModified)
The time the lifecycle environment was last modified (in RFC
3339 format).
|
LifecycleEnvironment.Builder |
vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the lifecycle
environment.
|
public LifecycleEnvironment.Builder id(String id)
The OCID of the lifecycle environment.
id
- the value to setpublic LifecycleEnvironment.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the lifecycle environment.
compartmentId
- the value to setpublic LifecycleEnvironment.Builder displayName(String displayName)
The user-friendly name for the lifecycle environment.
displayName
- the value to setpublic LifecycleEnvironment.Builder description(String description)
User-specified information about the lifecycle environment.
description
- the value to setpublic LifecycleEnvironment.Builder stages(List<LifecycleStage> stages)
User-specified list of lifecycle stages used within the lifecycle environment.
stages
- the value to setpublic LifecycleEnvironment.Builder managedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)
List of managed instance OCIDs assigned to the lifecycle stage.
managedInstanceIds
- the value to setpublic LifecycleEnvironment.Builder lifecycleState(LifecycleEnvironment.LifecycleState lifecycleState)
The current state of the lifecycle environment.
lifecycleState
- the value to setpublic LifecycleEnvironment.Builder osFamily(OsFamily osFamily)
The operating system of the managed instances in the lifecycle environment.
osFamily
- the value to setpublic LifecycleEnvironment.Builder archType(ArchType archType)
The CPU architecture of the managed instances in the lifecycle environment.
archType
- the value to setpublic LifecycleEnvironment.Builder vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the lifecycle environment.
vendorName
- the value to setpublic LifecycleEnvironment.Builder location(ManagedInstanceLocation location)
The location of managed instances attached to the lifecycle environment.
location
- the value to setpublic LifecycleEnvironment.Builder timeCreated(Date timeCreated)
The time the lifecycle environment was created (in RFC 3339 format).
timeCreated
- the value to setpublic LifecycleEnvironment.Builder timeModified(Date timeModified)
The time the lifecycle environment was last modified (in RFC 3339 format).
timeModified
- the value to setpublic LifecycleEnvironment.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 LifecycleEnvironment.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 LifecycleEnvironment.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 LifecycleEnvironment build()
public LifecycleEnvironment.Builder copy(LifecycleEnvironment model)
Copyright © 2016–2024. All rights reserved.