Class ManagedInstanceGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.ManagedInstanceGroupSummary.Builder
-
- Enclosing class:
- ManagedInstanceGroupSummary
public static class ManagedInstanceGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedInstanceGroupSummary
build()
ManagedInstanceGroupSummary.Builder
compartmentId(String compartmentId)
OCID for the CompartmentManagedInstanceGroupSummary.Builder
copy(ManagedInstanceGroupSummary model)
ManagedInstanceGroupSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ManagedInstanceGroupSummary.Builder
description(String description)
Information specified by the user about the managed instance groupManagedInstanceGroupSummary.Builder
displayName(String displayName)
user settable nameManagedInstanceGroupSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ManagedInstanceGroupSummary.Builder
id(String id)
OCID for the managed instance groupManagedInstanceGroupSummary.Builder
lifecycleState(LifecycleStates lifecycleState)
The current state of the Software Source.ManagedInstanceGroupSummary.Builder
managedInstanceCount(Integer managedInstanceCount)
Number of managed instances in this managed instance groupManagedInstanceGroupSummary.Builder
osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.
-
-
-
Method Detail
-
displayName
public ManagedInstanceGroupSummary.Builder displayName(String displayName)
user settable name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
id
public ManagedInstanceGroupSummary.Builder id(String id)
OCID for the managed instance group- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ManagedInstanceGroupSummary.Builder compartmentId(String compartmentId)
OCID for the Compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
description
public ManagedInstanceGroupSummary.Builder description(String description)
Information specified by the user about the managed instance group- Parameters:
description
- the value to set- Returns:
- this builder
-
managedInstanceCount
public ManagedInstanceGroupSummary.Builder managedInstanceCount(Integer managedInstanceCount)
Number of managed instances in this managed instance group- Parameters:
managedInstanceCount
- the value to set- Returns:
- this builder
-
lifecycleState
public ManagedInstanceGroupSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Software Source.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public ManagedInstanceGroupSummary.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 ManagedInstanceGroupSummary.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 ManagedInstanceGroupSummary.Builder osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
build
public ManagedInstanceGroupSummary build()
-
copy
public ManagedInstanceGroupSummary.Builder copy(ManagedInstanceGroupSummary model)
-
-