Class LifecycleStage.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.LifecycleStage.Builder
-
- Enclosing class:
- LifecycleStage
public static class LifecycleStage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecycleStage.BuilderarchType(ArchType archType)The CPU architecture of the managed instances in the lifecycle stage.LifecycleStagebuild()LifecycleStage.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the lifecycle stage.LifecycleStage.Buildercopy(LifecycleStage model)LifecycleStage.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.LifecycleStage.BuilderdisplayName(String displayName)The user-friendly name for the lifecycle stage.LifecycleStage.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.LifecycleStage.Builderid(String id)The OCID of the lifecycle stage.LifecycleStage.BuilderlifecycleEnvironmentId(String lifecycleEnvironmentId)The OCID of the lifecycle environment that contains the lifecycle stage.LifecycleStage.BuilderlifecycleState(LifecycleStage.LifecycleState lifecycleState)The current state of the lifecycle stage.LifecycleStage.Builderlocation(ManagedInstanceLocation location)The location of managed instances associated with the lifecycle stage.LifecycleStage.BuildermanagedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)The list of managed instances associated with the lifecycle stage.LifecycleStage.BuilderosFamily(OsFamily osFamily)The operating system of the managed instances in the lifecycle stage.LifecycleStage.Builderrank(Integer rank)User-specified rank for the lifecycle stage.LifecycleStage.BuildersoftwareSourceId(SoftwareSourceDetails softwareSourceId)LifecycleStage.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.LifecycleStage.BuildertimeCreated(Date timeCreated)The time the lifecycle stage was created (in RFC 3339 format).LifecycleStage.BuildertimeModified(Date timeModified)The time the lifecycle stage was last modified (in RFC 3339 format).LifecycleStage.BuildervendorName(VendorName vendorName)The vendor of the operating system used by the managed instances in the lifecycle stage.
-
-
-
Method Detail
-
id
public LifecycleStage.Builder id(String id)
The OCID of the lifecycle stage.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public LifecycleStage.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the lifecycle stage.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public LifecycleStage.Builder displayName(String displayName)
The user-friendly name for the lifecycle stage.- Parameters:
displayName- the value to set- Returns:
- this builder
-
lifecycleEnvironmentId
public LifecycleStage.Builder lifecycleEnvironmentId(String lifecycleEnvironmentId)
The OCID of the lifecycle environment that contains the lifecycle stage.- Parameters:
lifecycleEnvironmentId- the value to set- Returns:
- this builder
-
rank
public LifecycleStage.Builder rank(Integer rank)
User-specified rank for the lifecycle stage.Rank determines the hierarchy of the lifecycle stages within the lifecycle environment.
- Parameters:
rank- the value to set- Returns:
- this builder
-
osFamily
public LifecycleStage.Builder osFamily(OsFamily osFamily)
The operating system of the managed instances in the lifecycle stage.- Parameters:
osFamily- the value to set- Returns:
- this builder
-
archType
public LifecycleStage.Builder archType(ArchType archType)
The CPU architecture of the managed instances in the lifecycle stage.- Parameters:
archType- the value to set- Returns:
- this builder
-
vendorName
public LifecycleStage.Builder vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the lifecycle stage.- Parameters:
vendorName- the value to set- Returns:
- this builder
-
managedInstanceIds
public LifecycleStage.Builder managedInstanceIds(List<ManagedInstanceDetails> managedInstanceIds)
The list of managed instances associated with the lifecycle stage.- Parameters:
managedInstanceIds- the value to set- Returns:
- this builder
-
location
public LifecycleStage.Builder location(ManagedInstanceLocation location)
The location of managed instances associated with the lifecycle stage.- Parameters:
location- the value to set- Returns:
- this builder
-
softwareSourceId
public LifecycleStage.Builder softwareSourceId(SoftwareSourceDetails softwareSourceId)
-
timeCreated
public LifecycleStage.Builder timeCreated(Date timeCreated)
The time the lifecycle stage was created (in RFC 3339 format).- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeModified
public LifecycleStage.Builder timeModified(Date timeModified)
The time the lifecycle stage was last modified (in RFC 3339 format).- Parameters:
timeModified- the value to set- Returns:
- this builder
-
lifecycleState
public LifecycleStage.Builder lifecycleState(LifecycleStage.LifecycleState lifecycleState)
The current state of the lifecycle stage.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public LifecycleStage build()
-
copy
public LifecycleStage.Builder copy(LifecycleStage model)
-
-