Class ManagementStation.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • managedInstanceId

        public ManagementStation.Builder managedInstanceId​(String managedInstanceId)
        The OCID of the instance that is acting as the management station.
        Parameters:
        managedInstanceId - the value to set
        Returns:
        this builder
      • compartmentId

        public ManagementStation.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the management station.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • scheduledJobId

        public ManagementStation.Builder scheduledJobId​(String scheduledJobId)
        The OCID of the scheduled job for the mirror sync.
        Parameters:
        scheduledJobId - the value to set
        Returns:
        this builder
      • profileId

        public ManagementStation.Builder profileId​(String profileId)
        The OCID of the registration profile used for the management station.
        Parameters:
        profileId - the value to set
        Returns:
        this builder
      • displayName

        public ManagementStation.Builder displayName​(String displayName)
        A user-friendly name for the management station.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public ManagementStation.Builder description​(String description)
        User-specified description for the management station.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • hostname

        public ManagementStation.Builder hostname​(String hostname)
        Hostname of the management station.
        Parameters:
        hostname - the value to set
        Returns:
        this builder
      • overallState

        public ManagementStation.Builder overallState​(OverallState overallState)
        Current state of the mirror sync for the management station.
        Parameters:
        overallState - the value to set
        Returns:
        this builder
      • overallPercentage

        public ManagementStation.Builder overallPercentage​(Integer overallPercentage)
        A decimal number representing the progress of the current mirror sync.
        Parameters:
        overallPercentage - the value to set
        Returns:
        this builder
      • mirrorCapacity

        public ManagementStation.Builder mirrorCapacity​(Integer mirrorCapacity)
        A decimal number representing the amount of mirror capacity used by the sync.
        Parameters:
        mirrorCapacity - the value to set
        Returns:
        this builder
      • totalMirrors

        public ManagementStation.Builder totalMirrors​(Integer totalMirrors)
        The number of software sources that the station is mirroring.
        Parameters:
        totalMirrors - the value to set
        Returns:
        this builder
      • isAutoConfigEnabled

        public ManagementStation.Builder isAutoConfigEnabled​(Boolean isAutoConfigEnabled)
        When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
        Parameters:
        isAutoConfigEnabled - the value to set
        Returns:
        this builder
      • peerManagementStations

        public ManagementStation.Builder peerManagementStations​(List<PeerManagementStation> peerManagementStations)
        A list of other management stations that are behind the same load balancer within a high availability configuration.

        Stations are identified as peers if they have the same hostname and compartment.

        Parameters:
        peerManagementStations - the value to set
        Returns:
        this builder
      • mirrorStorageAvailableSize

        public ManagementStation.Builder mirrorStorageAvailableSize​(Long mirrorStorageAvailableSize)
        Amount of available mirror storage in bytes.
        Parameters:
        mirrorStorageAvailableSize - the value to set
        Returns:
        this builder
      • mirrorStorageSize

        public ManagementStation.Builder mirrorStorageSize​(Long mirrorStorageSize)
        Total mirror storage size in bytes.
        Parameters:
        mirrorStorageSize - the value to set
        Returns:
        this builder
      • mirrorSize

        public ManagementStation.Builder mirrorSize​(Long mirrorSize)
        The total size of all software source mirrors in bytes.
        Parameters:
        mirrorSize - the value to set
        Returns:
        this builder
      • mirrorUniquePackageCount

        public ManagementStation.Builder mirrorUniquePackageCount​(Integer mirrorUniquePackageCount)
        The total number of unique packages within the mirrored software sources on the station.

        Each package is counted only once, regardless of how many versions it has.

        Parameters:
        mirrorUniquePackageCount - the value to set
        Returns:
        this builder
      • mirrorPackageCount

        public ManagementStation.Builder mirrorPackageCount​(Integer mirrorPackageCount)
        The total number of all packages within the mirrored software sources.
        Parameters:
        mirrorPackageCount - the value to set
        Returns:
        this builder
      • freeformTags

        public ManagementStation.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 ManagementStation.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 ManagementStation.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