Class LifecycleEnvironment.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.LifecycleEnvironment.Builder
-
- Enclosing class:
- LifecycleEnvironment
public static class LifecycleEnvironment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public LifecycleEnvironment.Builder id(String id)
The OCID of the lifecycle environment.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public LifecycleEnvironment.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the lifecycle environment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public LifecycleEnvironment.Builder displayName(String displayName)
The user-friendly name for the lifecycle environment.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public LifecycleEnvironment.Builder description(String description)
User-specified information about the lifecycle environment.- Parameters:
description
- the value to set- Returns:
- this builder
-
stages
public LifecycleEnvironment.Builder stages(List<LifecycleStage> stages)
User-specified list of lifecycle stages used within the lifecycle environment.- Parameters:
stages
- the value to set- Returns:
- this builder
-
managedInstanceIds
public LifecycleEnvironment.Builder managedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)
List of managed instance OCIDs assigned to the lifecycle stage.- Parameters:
managedInstanceIds
- the value to set- Returns:
- this builder
-
lifecycleState
public LifecycleEnvironment.Builder lifecycleState(LifecycleEnvironment.LifecycleState lifecycleState)
The current state of the lifecycle environment.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
osFamily
public LifecycleEnvironment.Builder osFamily(OsFamily osFamily)
The operating system of the managed instances in the lifecycle environment.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
archType
public LifecycleEnvironment.Builder archType(ArchType archType)
The CPU architecture of the managed instances in the lifecycle environment.- Parameters:
archType
- the value to set- Returns:
- this builder
-
vendorName
public LifecycleEnvironment.Builder vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the lifecycle environment.- Parameters:
vendorName
- the value to set- Returns:
- this builder
-
location
public LifecycleEnvironment.Builder location(ManagedInstanceLocation location)
The location of managed instances attached to the lifecycle environment.- Parameters:
location
- the value to set- Returns:
- this builder
-
timeCreated
public LifecycleEnvironment.Builder timeCreated(Date timeCreated)
The time the lifecycle environment was created (in RFC 3339 format).- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeModified
public LifecycleEnvironment.Builder timeModified(Date timeModified)
The time the lifecycle environment was last modified (in RFC 3339 format).- Parameters:
timeModified
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public LifecycleEnvironment build()
-
copy
public LifecycleEnvironment.Builder copy(LifecycleEnvironment model)
-
-