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