Class ManagedInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.ManagedInstance.Builder
-
- Enclosing class:
- ManagedInstance
public static class ManagedInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedInstance.Builder
autonomous(AutonomousSettings autonomous)
if present, indicates the Managed Instance is an autonomous instance.ManagedInstance.Builder
bugUpdatesAvailable(Integer bugUpdatesAvailable)
Number of bug fix type updates available to be installedManagedInstance
build()
ManagedInstance.Builder
childSoftwareSources(List<SoftwareSourceId> childSoftwareSources)
list of child Software Sources attached to the Managed InstanceManagedInstance.Builder
compartmentId(String compartmentId)
OCID for the CompartmentManagedInstance.Builder
copy(ManagedInstance model)
ManagedInstance.Builder
description(String description)
Information specified by the user about the managed instanceManagedInstance.Builder
displayName(String displayName)
Managed Instance identifierManagedInstance.Builder
enhancementUpdatesAvailable(Integer enhancementUpdatesAvailable)
Number of enhancement type updates available to be installedManagedInstance.Builder
id(String id)
OCID for the managed instanceManagedInstance.Builder
isDataCollectionAuthorized(Boolean isDataCollectionAuthorized)
True if user allow data collection for this instanceManagedInstance.Builder
isRebootRequired(Boolean isRebootRequired)
Indicates whether a reboot is required to complete installation of updates.ManagedInstance.Builder
kspliceEffectiveKernelVersion(String kspliceEffectiveKernelVersion)
The ksplice effective kernel versionManagedInstance.Builder
lastBoot(String lastBoot)
Time at which the instance last bootedManagedInstance.Builder
lastCheckin(String lastCheckin)
Time at which the instance last checked inManagedInstance.Builder
managedInstanceGroups(List<Id> managedInstanceGroups)
The ids of the managed instance groups of which this instance is a member.ManagedInstance.Builder
notificationTopicId(String notificationTopicId)
OCID of the ONS topic used to send notification to usersManagedInstance.Builder
osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.ManagedInstance.Builder
osKernelVersion(String osKernelVersion)
Operating System Kernel VersionManagedInstance.Builder
osName(String osName)
Operating System NameManagedInstance.Builder
osVersion(String osVersion)
Operating System VersionManagedInstance.Builder
otherUpdatesAvailable(Integer otherUpdatesAvailable)
Number of non-classified updates available to be installedManagedInstance.Builder
parentSoftwareSource(SoftwareSourceId parentSoftwareSource)
the parent (base) Software Source attached to the Managed InstanceManagedInstance.Builder
scheduledJobCount(Integer scheduledJobCount)
Number of scheduled jobs associated with this instanceManagedInstance.Builder
securityUpdatesAvailable(Integer securityUpdatesAvailable)
Number of security type updates available to be installedManagedInstance.Builder
status(ManagedInstance.Status status)
status of the managed instance.ManagedInstance.Builder
updatesAvailable(Integer updatesAvailable)
Number of updates available to be installedManagedInstance.Builder
workRequestCount(Integer workRequestCount)
Number of work requests associated with this instance
-
-
-
Method Detail
-
displayName
public ManagedInstance.Builder displayName(String displayName)
Managed Instance identifier- Parameters:
displayName
- the value to set- Returns:
- this builder
-
id
public ManagedInstance.Builder id(String id)
OCID for the managed instance- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public ManagedInstance.Builder description(String description)
Information specified by the user about the managed instance- Parameters:
description
- the value to set- Returns:
- this builder
-
lastCheckin
public ManagedInstance.Builder lastCheckin(String lastCheckin)
Time at which the instance last checked in- Parameters:
lastCheckin
- the value to set- Returns:
- this builder
-
lastBoot
public ManagedInstance.Builder lastBoot(String lastBoot)
Time at which the instance last booted- Parameters:
lastBoot
- the value to set- Returns:
- this builder
-
updatesAvailable
public ManagedInstance.Builder updatesAvailable(Integer updatesAvailable)
Number of updates available to be installed- Parameters:
updatesAvailable
- the value to set- Returns:
- this builder
-
osName
public ManagedInstance.Builder osName(String osName)
Operating System Name- Parameters:
osName
- the value to set- Returns:
- this builder
-
osVersion
public ManagedInstance.Builder osVersion(String osVersion)
Operating System Version- Parameters:
osVersion
- the value to set- Returns:
- this builder
-
osKernelVersion
public ManagedInstance.Builder osKernelVersion(String osKernelVersion)
Operating System Kernel Version- Parameters:
osKernelVersion
- the value to set- Returns:
- this builder
-
compartmentId
public ManagedInstance.Builder compartmentId(String compartmentId)
OCID for the Compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
status
public ManagedInstance.Builder status(ManagedInstance.Status status)
status of the managed instance.- Parameters:
status
- the value to set- Returns:
- this builder
-
parentSoftwareSource
public ManagedInstance.Builder parentSoftwareSource(SoftwareSourceId parentSoftwareSource)
the parent (base) Software Source attached to the Managed Instance- Parameters:
parentSoftwareSource
- the value to set- Returns:
- this builder
-
childSoftwareSources
public ManagedInstance.Builder childSoftwareSources(List<SoftwareSourceId> childSoftwareSources)
list of child Software Sources attached to the Managed Instance- Parameters:
childSoftwareSources
- the value to set- Returns:
- this builder
-
managedInstanceGroups
public ManagedInstance.Builder managedInstanceGroups(List<Id> managedInstanceGroups)
The ids of the managed instance groups of which this instance is a member.- Parameters:
managedInstanceGroups
- the value to set- Returns:
- this builder
-
osFamily
public ManagedInstance.Builder osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
isRebootRequired
public ManagedInstance.Builder isRebootRequired(Boolean isRebootRequired)
Indicates whether a reboot is required to complete installation of updates.- Parameters:
isRebootRequired
- the value to set- Returns:
- this builder
-
notificationTopicId
public ManagedInstance.Builder notificationTopicId(String notificationTopicId)
OCID of the ONS topic used to send notification to users- Parameters:
notificationTopicId
- the value to set- Returns:
- this builder
-
kspliceEffectiveKernelVersion
public ManagedInstance.Builder kspliceEffectiveKernelVersion(String kspliceEffectiveKernelVersion)
The ksplice effective kernel version- Parameters:
kspliceEffectiveKernelVersion
- the value to set- Returns:
- this builder
-
isDataCollectionAuthorized
public ManagedInstance.Builder isDataCollectionAuthorized(Boolean isDataCollectionAuthorized)
True if user allow data collection for this instance- Parameters:
isDataCollectionAuthorized
- the value to set- Returns:
- this builder
-
autonomous
public ManagedInstance.Builder autonomous(AutonomousSettings autonomous)
if present, indicates the Managed Instance is an autonomous instance.Holds all the Autonomous specific information
- Parameters:
autonomous
- the value to set- Returns:
- this builder
-
securityUpdatesAvailable
public ManagedInstance.Builder securityUpdatesAvailable(Integer securityUpdatesAvailable)
Number of security type updates available to be installed- Parameters:
securityUpdatesAvailable
- the value to set- Returns:
- this builder
-
bugUpdatesAvailable
public ManagedInstance.Builder bugUpdatesAvailable(Integer bugUpdatesAvailable)
Number of bug fix type updates available to be installed- Parameters:
bugUpdatesAvailable
- the value to set- Returns:
- this builder
-
enhancementUpdatesAvailable
public ManagedInstance.Builder enhancementUpdatesAvailable(Integer enhancementUpdatesAvailable)
Number of enhancement type updates available to be installed- Parameters:
enhancementUpdatesAvailable
- the value to set- Returns:
- this builder
-
otherUpdatesAvailable
public ManagedInstance.Builder otherUpdatesAvailable(Integer otherUpdatesAvailable)
Number of non-classified updates available to be installed- Parameters:
otherUpdatesAvailable
- the value to set- Returns:
- this builder
-
scheduledJobCount
public ManagedInstance.Builder scheduledJobCount(Integer scheduledJobCount)
Number of scheduled jobs associated with this instance- Parameters:
scheduledJobCount
- the value to set- Returns:
- this builder
-
workRequestCount
public ManagedInstance.Builder workRequestCount(Integer workRequestCount)
Number of work requests associated with this instance- Parameters:
workRequestCount
- the value to set- Returns:
- this builder
-
build
public ManagedInstance build()
-
copy
public ManagedInstance.Builder copy(ManagedInstance model)
-
-