Class CreateLifecycleEnvironmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.CreateLifecycleEnvironmentDetails.Builder
-
- Enclosing class:
- CreateLifecycleEnvironmentDetails
public static class CreateLifecycleEnvironmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateLifecycleEnvironmentDetails.BuilderarchType(ArchType archType)The CPU architecture of the managed instances in the lifecycle environment.CreateLifecycleEnvironmentDetailsbuild()CreateLifecycleEnvironmentDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the lifecycle environment.CreateLifecycleEnvironmentDetails.Buildercopy(CreateLifecycleEnvironmentDetails model)CreateLifecycleEnvironmentDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateLifecycleEnvironmentDetails.Builderdescription(String description)User-specified information about the lifecycle environment.CreateLifecycleEnvironmentDetails.BuilderdisplayName(String displayName)A user-friendly name for the lifecycle environment.CreateLifecycleEnvironmentDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateLifecycleEnvironmentDetails.Builderlocation(ManagedInstanceLocation location)The location of managed instances attached to the lifecycle environment.CreateLifecycleEnvironmentDetails.BuilderosFamily(OsFamily osFamily)The operating system of the managed instances in the lifecycle environment.CreateLifecycleEnvironmentDetails.Builderstages(List<CreateLifecycleStageDetails> stages)User-specified list of ranked lifecycle stages used within the lifecycle environment.CreateLifecycleEnvironmentDetails.BuildervendorName(VendorName vendorName)The vendor of the operating system used by the managed instances in the lifecycle environment.
-
-
-
Method Detail
-
compartmentId
public CreateLifecycleEnvironmentDetails.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 CreateLifecycleEnvironmentDetails.Builder displayName(String displayName)
A user-friendly name for the lifecycle environment.Does not have to be unique and you can change the name later. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateLifecycleEnvironmentDetails.Builder description(String description)
User-specified information about the lifecycle environment.Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
stages
public CreateLifecycleEnvironmentDetails.Builder stages(List<CreateLifecycleStageDetails> stages)
User-specified list of ranked lifecycle stages used within the lifecycle environment.- Parameters:
stages- the value to set- Returns:
- this builder
-
archType
public CreateLifecycleEnvironmentDetails.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 CreateLifecycleEnvironmentDetails.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 CreateLifecycleEnvironmentDetails.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 CreateLifecycleEnvironmentDetails.Builder location(ManagedInstanceLocation location)
The location of managed instances attached to the lifecycle environment.If no location is provided, the default is ‘ON_PREMISE.’
- Parameters:
location- the value to set- Returns:
- this builder
-
freeformTags
public CreateLifecycleEnvironmentDetails.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 CreateLifecycleEnvironmentDetails.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
-
build
public CreateLifecycleEnvironmentDetails build()
-
copy
public CreateLifecycleEnvironmentDetails.Builder copy(CreateLifecycleEnvironmentDetails model)
-
-