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.ExplicitlySetBmcModel
The 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 class
DeploymentPeerSummary.Builder
static class
DeploymentPeerSummary.LifecycleState
Possible 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, DeploymentPeerSummary.LifecycleState lifecycleState)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentPeerSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAvailabilityDomain()
The availability domain of a placement.String
getDeploymentId()
The OCID of the deployment being referenced.String
getDisplayName()
An object’s Display Name.String
getFaultDomain()
The fault domain of a placement.DeploymentPeerSummary.LifecycleState
getLifecycleState()
Possible lifecycle states for deployment peer.DeploymentRole
getPeerRole()
The type of the deployment role.DeploymentPeerType
getPeerType()
The type of the deployment peer.String
getRegion()
The name of the region.Date
getTimeCreated()
The time the resource was created.Date
getTimeRoleChanged()
The time of the last role change.Date
getTimeUpdated()
The time the resource was last updated.int
hashCode()
DeploymentPeerSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DeploymentPeerSummary
@Deprecated @ConstructorProperties({"deploymentId","region","availabilityDomain","faultDomain","displayName","peerType","peerRole","timeCreated","timeUpdated","timeRoleChanged","lifecycleState"}) public DeploymentPeerSummary(String deploymentId, String region, String availabilityDomain, String faultDomain, String displayName, DeploymentPeerType peerType, DeploymentRole peerRole, Date timeCreated, Date timeUpdated, Date timeRoleChanged, 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
-
getLifecycleState
public DeploymentPeerSummary.LifecycleState getLifecycleState()
Possible lifecycle states for deployment peer.- 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
-
-