Class ManagedInstanceGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.ManagedInstanceGroup.Builder
-
- Enclosing class:
- ManagedInstanceGroup
public static class ManagedInstanceGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedInstanceGroup
build()
ManagedInstanceGroup.Builder
compartmentId(String compartmentId)
OCID for the CompartmentManagedInstanceGroup.Builder
copy(ManagedInstanceGroup model)
ManagedInstanceGroup.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ManagedInstanceGroup.Builder
description(String description)
Information specified by the user about the managed instance groupManagedInstanceGroup.Builder
displayName(String displayName)
Managed Instance Group identifierManagedInstanceGroup.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ManagedInstanceGroup.Builder
id(String id)
OCID for the managed instance groupManagedInstanceGroup.Builder
lifecycleState(LifecycleStates lifecycleState)
The current state of the Software Source.ManagedInstanceGroup.Builder
managedInstances(List<Id> managedInstances)
list of Managed Instances in the groupManagedInstanceGroup.Builder
osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.
-
-
-
Method Detail
-
displayName
public ManagedInstanceGroup.Builder displayName(String displayName)
Managed Instance Group identifier- Parameters:
displayName
- the value to set- Returns:
- this builder
-
id
public ManagedInstanceGroup.Builder id(String id)
OCID for the managed instance group- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public ManagedInstanceGroup.Builder description(String description)
Information specified by the user about the managed instance group- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public ManagedInstanceGroup.Builder compartmentId(String compartmentId)
OCID for the Compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
managedInstances
public ManagedInstanceGroup.Builder managedInstances(List<Id> managedInstances)
list of Managed Instances in the group- Parameters:
managedInstances
- the value to set- Returns:
- this builder
-
lifecycleState
public ManagedInstanceGroup.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Software Source.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public ManagedInstanceGroup.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public ManagedInstanceGroup.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
osFamily
public ManagedInstanceGroup.Builder osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
build
public ManagedInstanceGroup build()
-
copy
public ManagedInstanceGroup.Builder copy(ManagedInstanceGroup model)
-
-