Class ManagementStation
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.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 theManagementStation.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 theManagementStation.Builder
, which maintain a set of all explicitly set fields calledManagementStation.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagementStation.Builder
static class
ManagementStation.LifecycleState
The current state of the management station.
-
Constructor Summary
Constructors Constructor Description ManagementStation(String id, String managedInstanceId, String compartmentId, String scheduledJobId, String profileId, String displayName, String description, String hostname, OverallState overallState, Integer overallPercentage, Integer mirrorCapacity, Integer totalMirrors, MirrorSyncStatus mirrorSyncStatus, ProxyConfiguration proxy, MirrorConfiguration mirror, StationHealth health, ManagementStation.LifecycleState lifecycleState, Boolean isAutoConfigEnabled, List<PeerManagementStation> peerManagementStations, ManagedInstanceLocation location, Long mirrorStorageAvailableSize, Long mirrorStorageSize, Long mirrorSize, Integer mirrorUniquePackageCount, Integer mirrorPackageCount, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagementStation.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment that contains the management station.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDescription()
User-specified description for the management station.String
getDisplayName()
A user-friendly name for the management station.Map<String,String>
getFreeformTags()
Free-form tags for this resource.StationHealth
getHealth()
String
getHostname()
Hostname of the management station.String
getId()
The OCID of the management station.Boolean
getIsAutoConfigEnabled()
When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.ManagementStation.LifecycleState
getLifecycleState()
The current state of the management station.ManagedInstanceLocation
getLocation()
The location of the instance that is acting as the management station.String
getManagedInstanceId()
The OCID of the instance that is acting as the management station.MirrorConfiguration
getMirror()
Integer
getMirrorCapacity()
A decimal number representing the amount of mirror capacity used by the sync.Integer
getMirrorPackageCount()
The total number of all packages within the mirrored software sources.Long
getMirrorSize()
The total size of all software source mirrors in bytes.Long
getMirrorStorageAvailableSize()
Amount of available mirror storage in bytes.Long
getMirrorStorageSize()
Total mirror storage size in bytes.MirrorSyncStatus
getMirrorSyncStatus()
Integer
getMirrorUniquePackageCount()
The total number of unique packages within the mirrored software sources on the station.Integer
getOverallPercentage()
A decimal number representing the progress of the current mirror sync.OverallState
getOverallState()
Current state of the mirror sync for the management station.List<PeerManagementStation>
getPeerManagementStations()
A list of other management stations that are behind the same load balancer within a high availability configuration.String
getProfileId()
The OCID of the registration profile used for the management station.ProxyConfiguration
getProxy()
String
getScheduledJobId()
The OCID of the scheduled job for the mirror sync.Map<String,Map<String,Object>>
getSystemTags()
System tags for this resource.Integer
getTotalMirrors()
The number of software sources that the station is mirroring.int
hashCode()
ManagementStation.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagementStation
@Deprecated @ConstructorProperties({"id","managedInstanceId","compartmentId","scheduledJobId","profileId","displayName","description","hostname","overallState","overallPercentage","mirrorCapacity","totalMirrors","mirrorSyncStatus","proxy","mirror","health","lifecycleState","isAutoConfigEnabled","peerManagementStations","location","mirrorStorageAvailableSize","mirrorStorageSize","mirrorSize","mirrorUniquePackageCount","mirrorPackageCount","freeformTags","definedTags","systemTags"}) public ManagementStation(String id, String managedInstanceId, String compartmentId, String scheduledJobId, String profileId, String displayName, String description, String hostname, OverallState overallState, Integer overallPercentage, Integer mirrorCapacity, Integer totalMirrors, MirrorSyncStatus mirrorSyncStatus, ProxyConfiguration proxy, MirrorConfiguration mirror, StationHealth health, ManagementStation.LifecycleState lifecycleState, Boolean isAutoConfigEnabled, List<PeerManagementStation> peerManagementStations, ManagedInstanceLocation location, Long mirrorStorageAvailableSize, Long mirrorStorageSize, Long mirrorSize, Integer mirrorUniquePackageCount, Integer mirrorPackageCount, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static ManagementStation.Builder builder()
Create a new builder.
-
toBuilder
public ManagementStation.Builder toBuilder()
-
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
-
getMirrorSyncStatus
public MirrorSyncStatus getMirrorSyncStatus()
-
getProxy
public ProxyConfiguration getProxy()
-
getMirror
public MirrorConfiguration getMirror()
-
getHealth
public StationHealth getHealth()
-
getLifecycleState
public ManagementStation.LifecycleState getLifecycleState()
The current state of the management station.- 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 classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-