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 target instances.
|
LifecycleEnvironment |
build() |
LifecycleEnvironment.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy containing 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)
A user-friendly name.
|
LifecycleEnvironment.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
LifecycleEnvironment.Builder |
id(String id)
The OCID of the resource that is immutable on creation.
|
LifecycleEnvironment.Builder |
lifecycleState(LifecycleEnvironment.LifecycleState lifecycleState)
The current state of the lifecycle environment.
|
LifecycleEnvironment.Builder |
managedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)
The list of managed instance OCIDs specified in the lifecycle stage.
|
LifecycleEnvironment.Builder |
osFamily(OsFamily osFamily)
The operating system type of the target instances.
|
LifecycleEnvironment.Builder |
stages(List<LifecycleStage> stages)
User specified list of lifecycle stages to be created for 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.
|
LifecycleEnvironment.Builder |
timeModified(Date timeModified)
The time the lifecycle environment was last modified.
|
LifecycleEnvironment.Builder |
vendorName(VendorName vendorName)
The software source vendor name.
|
public LifecycleEnvironment.Builder id(String id)
The OCID of the resource that is immutable on creation.
id
- the value to setpublic LifecycleEnvironment.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the lifecycle environment.
compartmentId
- the value to setpublic LifecycleEnvironment.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
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 to be created for the lifecycle environment.
stages
- the value to setpublic LifecycleEnvironment.Builder managedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)
The list of managed instance OCIDs specified in 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 type of the target instances.
osFamily
- the value to setpublic LifecycleEnvironment.Builder archType(ArchType archType)
The CPU architecture of the target instances.
archType
- the value to setpublic LifecycleEnvironment.Builder vendorName(VendorName vendorName)
The software source vendor name.
vendorName
- the value to setpublic LifecycleEnvironment.Builder timeCreated(Date timeCreated)
The time the lifecycle environment was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic LifecycleEnvironment.Builder timeModified(Date timeModified)
The time the lifecycle environment was last modified. An RFC3339 formatted datetime string.
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.