Class ManagedInstanceGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.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.Builder
archType(ArchType archType)
The CPU architecture of the instances in the managed instance group.ManagedInstanceGroup.Builder
autonomousSettings(AutonomousSettings autonomousSettings)
ManagedInstanceGroup
build()
ManagedInstanceGroup.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the managed instance group.ManagedInstanceGroup.Builder
copy(ManagedInstanceGroup model)
ManagedInstanceGroup.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ManagedInstanceGroup.Builder
description(String description)
User-specified information about the managed instance group.ManagedInstanceGroup.Builder
displayName(String displayName)
A user-friendly name for the managed instance group.ManagedInstanceGroup.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ManagedInstanceGroup.Builder
id(String id)
The OCID of the managed instance group.ManagedInstanceGroup.Builder
isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether the Autonomous Linux service manages the group.ManagedInstanceGroup.Builder
lifecycleState(ManagedInstanceGroup.LifecycleState lifecycleState)
The current state of the managed instance group.ManagedInstanceGroup.Builder
location(ManagedInstanceLocation location)
The location of managed instances attached to the group.ManagedInstanceGroup.Builder
managedInstanceCount(Integer managedInstanceCount)
The number of managed instances in the group.ManagedInstanceGroup.Builder
managedInstanceIds(List<String> managedInstanceIds)
The list of managed instance OCIDs attached to the managed instance group.ManagedInstanceGroup.Builder
notificationTopicId(String notificationTopicId)
The OCID for the Oracle Notifications service (ONS) topic.ManagedInstanceGroup.Builder
osFamily(OsFamily osFamily)
The operating system type of the instances in the managed instance group.ManagedInstanceGroup.Builder
pendingJobCount(Integer pendingJobCount)
The number of scheduled jobs pending against the managed instance group.ManagedInstanceGroup.Builder
softwareSourceIds(List<SoftwareSourceDetails> softwareSourceIds)
The list of software source OCIDs that the managed instance group will use.ManagedInstanceGroup.Builder
softwareSources(List<SoftwareSourceDetails> softwareSources)
The list of software sources that the managed instance group will use.ManagedInstanceGroup.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ManagedInstanceGroup.Builder
timeCreated(Date timeCreated)
The time the managed instance group was created (in RFC 3339 format).ManagedInstanceGroup.Builder
timeModified(Date timeModified)
The time the managed instance group was last modified (in RFC 3339 format).ManagedInstanceGroup.Builder
vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the group.
-
-
-
Method Detail
-
id
public ManagedInstanceGroup.Builder id(String id)
The OCID of the managed instance group.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ManagedInstanceGroup.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the managed instance group.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public ManagedInstanceGroup.Builder displayName(String displayName)
A user-friendly name for the managed instance group.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public ManagedInstanceGroup.Builder description(String description)
User-specified information about the managed instance group.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public ManagedInstanceGroup.Builder timeCreated(Date timeCreated)
The time the managed instance group was created (in RFC 3339 format).- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeModified
public ManagedInstanceGroup.Builder timeModified(Date timeModified)
The time the managed instance group was last modified (in RFC 3339 format).- Parameters:
timeModified
- the value to set- Returns:
- this builder
-
lifecycleState
public ManagedInstanceGroup.Builder lifecycleState(ManagedInstanceGroup.LifecycleState lifecycleState)
The current state of the managed instance group.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
osFamily
public ManagedInstanceGroup.Builder osFamily(OsFamily osFamily)
The operating system type of the instances in the managed instance group.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
archType
public ManagedInstanceGroup.Builder archType(ArchType archType)
The CPU architecture of the instances in the managed instance group.- Parameters:
archType
- the value to set- Returns:
- this builder
-
vendorName
public ManagedInstanceGroup.Builder vendorName(VendorName vendorName)
The vendor of the operating system used by the managed instances in the group.- Parameters:
vendorName
- the value to set- Returns:
- this builder
-
softwareSourceIds
public ManagedInstanceGroup.Builder softwareSourceIds(List<SoftwareSourceDetails> softwareSourceIds)
The list of software source OCIDs that the managed instance group will use.- Parameters:
softwareSourceIds
- the value to set- Returns:
- this builder
-
softwareSources
public ManagedInstanceGroup.Builder softwareSources(List<SoftwareSourceDetails> softwareSources)
The list of software sources that the managed instance group will use.- Parameters:
softwareSources
- the value to set- Returns:
- this builder
-
managedInstanceIds
public ManagedInstanceGroup.Builder managedInstanceIds(List<String> managedInstanceIds)
The list of managed instance OCIDs attached to the managed instance group.- Parameters:
managedInstanceIds
- the value to set- Returns:
- this builder
-
managedInstanceCount
public ManagedInstanceGroup.Builder managedInstanceCount(Integer managedInstanceCount)
The number of managed instances in the group.- Parameters:
managedInstanceCount
- the value to set- Returns:
- this builder
-
location
public ManagedInstanceGroup.Builder location(ManagedInstanceLocation location)
The location of managed instances attached to the group.- Parameters:
location
- the value to set- Returns:
- this builder
-
pendingJobCount
public ManagedInstanceGroup.Builder pendingJobCount(Integer pendingJobCount)
The number of scheduled jobs pending against the managed instance group.- Parameters:
pendingJobCount
- the value to set- Returns:
- this builder
-
notificationTopicId
public ManagedInstanceGroup.Builder notificationTopicId(String notificationTopicId)
The OCID for the Oracle Notifications service (ONS) topic.ONS is the channel used to send notifications to the customer.
- Parameters:
notificationTopicId
- the value to set- Returns:
- this builder
-
autonomousSettings
public ManagedInstanceGroup.Builder autonomousSettings(AutonomousSettings autonomousSettings)
-
isManagedByAutonomousLinux
public ManagedInstanceGroup.Builder isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether the Autonomous Linux service manages the group.- Parameters:
isManagedByAutonomousLinux
- the value to set- Returns:
- this builder
-
freeformTags
public ManagedInstanceGroup.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 ManagedInstanceGroup.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 ManagedInstanceGroup.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 ManagedInstanceGroup build()
-
copy
public ManagedInstanceGroup.Builder copy(ManagedInstanceGroup model)
-
-