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 SummaryNested Classes Modifier and Type Class Description static classDeploymentPeerSummary.Builderstatic classDeploymentPeerSummary.LifecycleStatePossible lifecycle states for deployment peer.
 - 
Constructor SummaryConstructors 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 SummaryAll 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- 
builderpublic static DeploymentPeerSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DeploymentPeerSummary.Builder toBuilder() 
 - 
getDeploymentIdpublic String getDeploymentId() The OCID of the deployment being referenced.- Returns:
- the value
 
 - 
getRegionpublic 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
 
 - 
getAvailabilityDomainpublic String getAvailabilityDomain() The availability domain of a placement.- Returns:
- the value
 
 - 
getFaultDomainpublic String getFaultDomain() The fault domain of a placement.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() An object’s Display Name.- Returns:
- the value
 
 - 
getPeerTypepublic DeploymentPeerType getPeerType() The type of the deployment peer.- Returns:
- the value
 
 - 
getPeerRolepublic DeploymentRole getPeerRole() The type of the deployment role.- Returns:
- the value
 
 - 
getTimeCreatedpublic 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
 
 - 
getTimeUpdatedpublic 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
 
 - 
getTimeRoleChangedpublic 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
 
 - 
getTimeLastSyncedpublic 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
 
 - 
getSubscriptionIdpublic String getSubscriptionId() The OCID of the subscription with which resource needs to be associated with.- Returns:
- the value
 
 - 
getClusterPlacementGroupIdpublic 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
 
 - 
getLifecycleStatepublic DeploymentPeerSummary.LifecycleState getLifecycleState() Possible lifecycle states for deployment peer.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-