Package com.oracle.bmc.goldengate.model
Class DeploymentPeerSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.DeploymentPeerSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class DeploymentPeerSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe summary of the deployment Peer.
Note: Objects should always be created or deserialized using theDeploymentPeerSummary.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 theDeploymentPeerSummary.Builder, which maintain a set of all explicitly set fields calledDeploymentPeerSummary.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 classDeploymentPeerSummary.Builderstatic classDeploymentPeerSummary.LifecycleStatePossible lifecycle states for deployment peer.
-
Constructor Summary
Constructors Constructor Description DeploymentPeerSummary(String deploymentId, String region, String availabilityDomain, String faultDomain, String displayName, DeploymentPeerType peerType, DeploymentRole peerRole, Date timeCreated, Date timeUpdated, Date timeRoleChanged, Date timeLastSynced, String subscriptionId, String clusterPlacementGroupId, DeploymentPeerSummary.LifecycleState lifecycleState)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentPeerSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAvailabilityDomain()The availability domain of a placement.StringgetClusterPlacementGroupId()The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource.StringgetDeploymentId()The OCID of the deployment being referenced.StringgetDisplayName()An object’s Display Name.StringgetFaultDomain()The fault domain of a placement.DeploymentPeerSummary.LifecycleStategetLifecycleState()Possible lifecycle states for deployment peer.DeploymentRolegetPeerRole()The type of the deployment role.DeploymentPeerTypegetPeerType()The type of the deployment peer.StringgetRegion()The name of the region.StringgetSubscriptionId()The OCID of the subscription with which resource needs to be associated with.DategetTimeCreated()The time the resource was created.DategetTimeLastSynced()The time of the last data synchronization from the primary to the standby peer.DategetTimeRoleChanged()The time of the last role change.DategetTimeUpdated()The time the resource was last updated.inthashCode()DeploymentPeerSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DeploymentPeerSummary
@Deprecated @ConstructorProperties({"deploymentId","region","availabilityDomain","faultDomain","displayName","peerType","peerRole","timeCreated","timeUpdated","timeRoleChanged","timeLastSynced","subscriptionId","clusterPlacementGroupId","lifecycleState"}) public DeploymentPeerSummary(String deploymentId, String region, String availabilityDomain, String faultDomain, String displayName, DeploymentPeerType peerType, DeploymentRole peerRole, Date timeCreated, Date timeUpdated, Date timeRoleChanged, Date timeLastSynced, String subscriptionId, String clusterPlacementGroupId, DeploymentPeerSummary.LifecycleState lifecycleState)
Deprecated.
-
-
Method Detail
-
builder
public static DeploymentPeerSummary.Builder builder()
Create a new builder.
-
toBuilder
public DeploymentPeerSummary.Builder toBuilder()
-
getDeploymentId
public String getDeploymentId()
The OCID of the deployment being referenced.- Returns:
- the value
-
getRegion
public String getRegion()
The name of the region.e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.
- Returns:
- the value
-
getAvailabilityDomain
public String getAvailabilityDomain()
The availability domain of a placement.- Returns:
- the value
-
getFaultDomain
public String getFaultDomain()
The fault domain of a placement.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
An object’s Display Name.- Returns:
- the value
-
getPeerType
public DeploymentPeerType getPeerType()
The type of the deployment peer.- Returns:
- the value
-
getPeerRole
public DeploymentRole getPeerRole()
The type of the deployment role.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the resource was created.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the resource was last updated.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Returns:
- the value
-
getTimeRoleChanged
public Date getTimeRoleChanged()
The time of the last role change.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Returns:
- the value
-
getTimeLastSynced
public Date getTimeLastSynced()
The time of the last data synchronization from the primary to the standby peer.RFC3339, such as 2016-08-25T21:10:29.600Z.
- Returns:
- the value
-
getSubscriptionId
public String getSubscriptionId()
The OCID of the subscription with which resource needs to be associated with.- Returns:
- the value
-
getClusterPlacementGroupId
public String getClusterPlacementGroupId()
The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource.Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud subscription id is provided. Otherwise the cluster placement group must not be provided.
- Returns:
- the value
-
getLifecycleState
public DeploymentPeerSummary.LifecycleState getLifecycleState()
Possible lifecycle states for deployment peer.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-