@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
).
Modifier and Type | Class and Description |
---|---|
static class |
ManagementStation.Builder |
static class |
ManagementStation.LifecycleState
The current state of the management station.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and 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.
|
ManagementStation.LifecycleState |
getLifecycleState()
The current state of 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.
|
MirrorSyncStatus |
getMirrorSyncStatus() |
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.
|
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","managedInstanceId","compartmentId","scheduledJobId","profileId","displayName","description","hostname","overallState","overallPercentage","mirrorCapacity","totalMirrors","mirrorSyncStatus","proxy","mirror","health","lifecycleState","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, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static ManagementStation.Builder builder()
Create a new builder.
public ManagementStation.Builder toBuilder()
public String getManagedInstanceId()
The OCID of the instance that is acting as the management station.
public String getCompartmentId()
The OCID of the compartment that contains the management station.
public String getScheduledJobId()
The OCID of the scheduled job for the mirror sync.
public String getProfileId()
The OCID of the registration profile used for the management station.
public String getDisplayName()
A user-friendly name for the management station.
public String getDescription()
User-specified description for the management station.
public String getHostname()
Hostname of the management station.
public OverallState getOverallState()
Current state of the mirror sync for the management station.
public Integer getOverallPercentage()
A decimal number representing the progress of the current mirror sync.
public Integer getMirrorCapacity()
A decimal number representing the amount of mirror capacity used by the sync.
public Integer getTotalMirrors()
The number of software sources that the station is mirroring.
public MirrorSyncStatus getMirrorSyncStatus()
public ProxyConfiguration getProxy()
public MirrorConfiguration getMirror()
public StationHealth getHealth()
public ManagementStation.LifecycleState getLifecycleState()
The current state of the management station.
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"}
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"}}
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"}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.