Class ManagementStation


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220901")
    public final class ManagementStation
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Provides information about the management station, including name, state, and configuration.
    Note: Objects should always be created or deserialized using the ManagementStation.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ManagementStation.Builder, which maintain a set of all explicitly set fields called ManagementStation.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getId

        public String getId()
        The OCID of the management station.
        Returns:
        the value
      • getManagedInstanceId

        public String getManagedInstanceId()
        The OCID of the instance that is acting as the management station.
        Returns:
        the value
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment that contains the management station.
        Returns:
        the value
      • getScheduledJobId

        public String getScheduledJobId()
        The OCID of the scheduled job for the mirror sync.
        Returns:
        the value
      • getProfileId

        public String getProfileId()
        The OCID of the registration profile used for the management station.
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        A user-friendly name for the management station.
        Returns:
        the value
      • getDescription

        public String getDescription()
        User-specified description for the management station.
        Returns:
        the value
      • getHostname

        public String getHostname()
        Hostname of the management station.
        Returns:
        the value
      • getOverallState

        public OverallState getOverallState()
        Current state of the mirror sync for the management station.
        Returns:
        the value
      • getOverallPercentage

        public Integer getOverallPercentage()
        A decimal number representing the progress of the current mirror sync.
        Returns:
        the value
      • getMirrorCapacity

        public Integer getMirrorCapacity()
        A decimal number representing the amount of mirror capacity used by the sync.
        Returns:
        the value
      • getTotalMirrors

        public Integer getTotalMirrors()
        The number of software sources that the station is mirroring.
        Returns:
        the value
      • getIsAutoConfigEnabled

        public Boolean getIsAutoConfigEnabled()
        When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
        Returns:
        the value
      • getPeerManagementStations

        public List<PeerManagementStation> getPeerManagementStations()
        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.

        Returns:
        the value
      • getLocation

        public ManagedInstanceLocation getLocation()
        The location of the instance that is acting as the management station.
        Returns:
        the value
      • getMirrorStorageAvailableSize

        public Long getMirrorStorageAvailableSize()
        Amount of available mirror storage in bytes.
        Returns:
        the value
      • getMirrorStorageSize

        public Long getMirrorStorageSize()
        Total mirror storage size in bytes.
        Returns:
        the value
      • getMirrorSize

        public Long getMirrorSize()
        The total size of all software source mirrors in bytes.
        Returns:
        the value
      • getMirrorUniquePackageCount

        public Integer getMirrorUniquePackageCount()
        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.

        Returns:
        the value
      • getMirrorPackageCount

        public Integer getMirrorPackageCount()
        The total number of all packages within the mirrored software sources.
        Returns:
        the value
      • getFreeformTags

        public Map<String,​String> getFreeformTags()
        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”}

        Returns:
        the value
      • getDefinedTags

        public Map<String,​Map<String,​Object>> getDefinedTags()
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

        Returns:
        the value
      • getSystemTags

        public Map<String,​Map<String,​Object>> getSystemTags()
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel