Class ManagedInstance.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public ManagedInstance.Builder displayName​(String displayName)
        User-friendly name for the managed instance.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public ManagedInstance.Builder description​(String description)
        User-specified description for the managed instance.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • tenancyId

        public ManagedInstance.Builder tenancyId​(String tenancyId)
        The OCID of the tenancy that the managed instance resides in.
        Parameters:
        tenancyId - the value to set
        Returns:
        this builder
      • compartmentId

        public ManagedInstance.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the managed instance.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeLastCheckin

        public ManagedInstance.Builder timeLastCheckin​(Date timeLastCheckin)
        Time that the instance last checked in with the service (in RFC 3339 format).
        Parameters:
        timeLastCheckin - the value to set
        Returns:
        this builder
      • timeLastBoot

        public ManagedInstance.Builder timeLastBoot​(Date timeLastBoot)
        Time that the instance last booted (in RFC 3339 format).
        Parameters:
        timeLastBoot - 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
      • kspliceEffectiveKernelVersion

        public ManagedInstance.Builder kspliceEffectiveKernelVersion​(String kspliceEffectiveKernelVersion)
        The ksplice effective kernel version.
        Parameters:
        kspliceEffectiveKernelVersion - the value to set
        Returns:
        this builder
      • architecture

        public ManagedInstance.Builder architecture​(ArchType architecture)
        The CPU architecture type of the managed instance.
        Parameters:
        architecture - the value to set
        Returns:
        this builder
      • osFamily

        public ManagedInstance.Builder osFamily​(OsFamily osFamily)
        The operating system type of the managed instance.
        Parameters:
        osFamily - the value to set
        Returns:
        this builder
      • profile

        public ManagedInstance.Builder profile​(String profile)
        The profile that was used to register this instance with the service.
        Parameters:
        profile - the value to set
        Returns:
        this builder
      • profileVersion

        public ManagedInstance.Builder profileVersion​(String profileVersion)
        The version of the profile that was used to register this instance with the service.
        Parameters:
        profileVersion - the value to set
        Returns:
        this builder
      • isManagementStation

        public ManagedInstance.Builder isManagementStation​(Boolean isManagementStation)
        Indicates whether this managed instance is acting as an on-premises management station.
        Parameters:
        isManagementStation - the value to set
        Returns:
        this builder
      • primaryManagementStationId

        public ManagedInstance.Builder primaryManagementStationId​(String primaryManagementStationId)
        The OCID of the management station for the instance to use as primary management station.
        Parameters:
        primaryManagementStationId - the value to set
        Returns:
        this builder
      • secondaryManagementStationId

        public ManagedInstance.Builder secondaryManagementStationId​(String secondaryManagementStationId)
        The OCID of the management station for the instance to use as secondary management station.
        Parameters:
        secondaryManagementStationId - the value to set
        Returns:
        this builder
      • softwareSources

        public ManagedInstance.Builder softwareSources​(List<SoftwareSourceDetails> softwareSources)
        The list of software sources currently attached to the managed instance.
        Parameters:
        softwareSources - 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
      • installedPackages

        public ManagedInstance.Builder installedPackages​(Integer installedPackages)
        Number of packages installed on the instance.
        Parameters:
        installedPackages - the value to set
        Returns:
        this builder
      • installedWindowsUpdates

        public ManagedInstance.Builder installedWindowsUpdates​(Integer installedWindowsUpdates)
        Number of Windows updates installed on the instance.
        Parameters:
        installedWindowsUpdates - the value to set
        Returns:
        this builder
      • updatesAvailable

        public ManagedInstance.Builder updatesAvailable​(Integer updatesAvailable)
        Number of updates available for installation.
        Parameters:
        updatesAvailable - the value to set
        Returns:
        this builder
      • securityUpdatesAvailable

        public ManagedInstance.Builder securityUpdatesAvailable​(Integer securityUpdatesAvailable)
        Number of security type updates available for installation.
        Parameters:
        securityUpdatesAvailable - the value to set
        Returns:
        this builder
      • bugUpdatesAvailable

        public ManagedInstance.Builder bugUpdatesAvailable​(Integer bugUpdatesAvailable)
        Number of bug fix type updates available for installation.
        Parameters:
        bugUpdatesAvailable - the value to set
        Returns:
        this builder
      • enhancementUpdatesAvailable

        public ManagedInstance.Builder enhancementUpdatesAvailable​(Integer enhancementUpdatesAvailable)
        Number of enhancement type updates available for installation.
        Parameters:
        enhancementUpdatesAvailable - the value to set
        Returns:
        this builder
      • otherUpdatesAvailable

        public ManagedInstance.Builder otherUpdatesAvailable​(Integer otherUpdatesAvailable)
        Number of non-classified (other) updates available for installation.
        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
      • timeCreated

        public ManagedInstance.Builder timeCreated​(Date timeCreated)
        The date and time the instance was created (in RFC 3339 format).
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ManagedInstance.Builder timeUpdated​(Date timeUpdated)
        The date and time the instance was last updated (in RFC 3339 format).
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • notificationTopicId

        public ManagedInstance.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
      • isManagedByAutonomousLinux

        public ManagedInstance.Builder isManagedByAutonomousLinux​(Boolean isManagedByAutonomousLinux)
        Indicates whether the Autonomous Linux service manages the instance.
        Parameters:
        isManagedByAutonomousLinux - the value to set
        Returns:
        this builder
      • agentVersion

        public ManagedInstance.Builder agentVersion​(String agentVersion)
        The version of osmh-agent running on the managed instance
        Parameters:
        agentVersion - the value to set
        Returns:
        this builder