Class LifecycleStageSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.LifecycleStageSummary.Builder
-
- Enclosing class:
- LifecycleStageSummary
public static class LifecycleStageSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecycleStageSummary.Builder
archType(ArchType archType)
The CPU architecture of the managed instances in the lifecycle stage.LifecycleStageSummary
build()
LifecycleStageSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the lifecycle stage.LifecycleStageSummary.Builder
copy(LifecycleStageSummary model)
LifecycleStageSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.LifecycleStageSummary.Builder
displayName(String displayName)
The user-friendly name for the lifecycle stage.LifecycleStageSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.LifecycleStageSummary.Builder
id(String id)
The OCID of the lifecycle stage.LifecycleStageSummary.Builder
lifecycleEnvironmentDisplayName(String lifecycleEnvironmentDisplayName)
The user-friendly name for the lifecycle environment.LifecycleStageSummary.Builder
lifecycleEnvironmentId(String lifecycleEnvironmentId)
The OCID of the lifecycle environment that contains the lifecycle stage.LifecycleStageSummary.Builder
lifecycleState(LifecycleStage.LifecycleState lifecycleState)
The current state of the lifecycle environment.LifecycleStageSummary.Builder
location(ManagedInstanceLocation location)
The location of managed instances associated with the lifecycle stage.LifecycleStageSummary.Builder
managedInstances(Integer managedInstances)
The list of managed instances associated with the lifecycle stage.LifecycleStageSummary.Builder
osFamily(OsFamily osFamily)
The operating system of the managed instances in the lifecycle stage.LifecycleStageSummary.Builder
rank(Integer rank)
User-specified rank for the lifecycle stage.LifecycleStageSummary.Builder
softwareSourceId(SoftwareSourceDetails softwareSourceId)
LifecycleStageSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.LifecycleStageSummary.Builder
timeCreated(Date timeCreated)
The time the lifecycle stage was created (in RFC 3339 format).LifecycleStageSummary.Builder
timeModified(Date timeModified)
The time the lifecycle stage was last modified (in RFC 3339 format).LifecycleStageSummary.Builder
vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the lifecycle stage.
-
-
-
Method Detail
-
id
public LifecycleStageSummary.Builder id(String id)
The OCID of the lifecycle stage.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public LifecycleStageSummary.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 LifecycleStageSummary.Builder displayName(String displayName)
The user-friendly name for the lifecycle stage.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lifecycleEnvironmentId
public LifecycleStageSummary.Builder lifecycleEnvironmentId(String lifecycleEnvironmentId)
The OCID of the lifecycle environment that contains the lifecycle stage.- Parameters:
lifecycleEnvironmentId
- the value to set- Returns:
- this builder
-
lifecycleEnvironmentDisplayName
public LifecycleStageSummary.Builder lifecycleEnvironmentDisplayName(String lifecycleEnvironmentDisplayName)
The user-friendly name for the lifecycle environment.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
lifecycleEnvironmentDisplayName
- the value to set- Returns:
- this builder
-
rank
public LifecycleStageSummary.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 LifecycleStageSummary.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 LifecycleStageSummary.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 LifecycleStageSummary.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
-
managedInstances
public LifecycleStageSummary.Builder managedInstances(Integer managedInstances)
The list of managed instances associated with the lifecycle stage.- Parameters:
managedInstances
- the value to set- Returns:
- this builder
-
location
public LifecycleStageSummary.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 LifecycleStageSummary.Builder softwareSourceId(SoftwareSourceDetails softwareSourceId)
-
timeCreated
public LifecycleStageSummary.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 LifecycleStageSummary.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 LifecycleStageSummary.Builder lifecycleState(LifecycleStage.LifecycleState lifecycleState)
The current state of the lifecycle environment.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public LifecycleStageSummary.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 LifecycleStageSummary.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 LifecycleStageSummary.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 LifecycleStageSummary build()
-
copy
public LifecycleStageSummary.Builder copy(LifecycleStageSummary model)
-
-