Class ManagedInstance.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public ManagedInstance.Builder displayName​(String displayName)
        Managed Instance identifier
        Parameters:
        displayName - 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
      • 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