Interface ReplicationPeer.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicationPeer.Builder,,ReplicationPeer> SdkBuilder<ReplicationPeer.Builder,,ReplicationPeer> SdkPojo
- Enclosing class:
ReplicationPeer
-
Method Summary
Modifier and TypeMethodDescriptionpeerDomainArn(String peerDomainArn) The Amazon Resource Name (ARN) of the peer domain.The peer's role in the relationship, eitherPRIMARYorSECONDARY.peerRole(ReplicationRole peerRole) The peer's role in the relationship, eitherPRIMARYorSECONDARY.The state of the relationship:status(ReplicationStatus status) The state of the relationship:statusMessage(String statusMessage) An explanation of why the relationship is in its current state, when more detail is available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
peerDomainArn
The Amazon Resource Name (ARN) of the peer domain.
- Parameters:
peerDomainArn- The Amazon Resource Name (ARN) of the peer domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerRole
The peer's role in the relationship, either
PRIMARYorSECONDARY.- Parameters:
peerRole- The peer's role in the relationship, eitherPRIMARYorSECONDARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
peerRole
The peer's role in the relationship, either
PRIMARYorSECONDARY.- Parameters:
peerRole- The peer's role in the relationship, eitherPRIMARYorSECONDARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The state of the relationship:
-
PENDING_SETUP- replication is being established. -
ACTIVE- replication is running. -
SWITCHING_OVER- a planned promotion is in progress. -
FAILING_OVER- an unplanned promotion is in progress. -
PENDING_REMOVAL- replication is being stopped. -
DETACHED- the relationship has ended. -
EJECTED- a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again. -
FAILED- setup or teardown could not complete. You can still remove the relationship.
A relationship that is removed successfully no longer appears in
Peers.- Parameters:
status- The state of the relationship:-
PENDING_SETUP- replication is being established. -
ACTIVE- replication is running. -
SWITCHING_OVER- a planned promotion is in progress. -
FAILING_OVER- an unplanned promotion is in progress. -
PENDING_REMOVAL- replication is being stopped. -
DETACHED- the relationship has ended. -
EJECTED- a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again. -
FAILED- setup or teardown could not complete. You can still remove the relationship.
A relationship that is removed successfully no longer appears in
Peers.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The state of the relationship:
-
PENDING_SETUP- replication is being established. -
ACTIVE- replication is running. -
SWITCHING_OVER- a planned promotion is in progress. -
FAILING_OVER- an unplanned promotion is in progress. -
PENDING_REMOVAL- replication is being stopped. -
DETACHED- the relationship has ended. -
EJECTED- a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again. -
FAILED- setup or teardown could not complete. You can still remove the relationship.
A relationship that is removed successfully no longer appears in
Peers.- Parameters:
status- The state of the relationship:-
PENDING_SETUP- replication is being established. -
ACTIVE- replication is running. -
SWITCHING_OVER- a planned promotion is in progress. -
FAILING_OVER- an unplanned promotion is in progress. -
PENDING_REMOVAL- replication is being stopped. -
DETACHED- the relationship has ended. -
EJECTED- a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again. -
FAILED- setup or teardown could not complete. You can still remove the relationship.
A relationship that is removed successfully no longer appears in
Peers.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusMessage
An explanation of why the relationship is in its current state, when more detail is available.
- Parameters:
statusMessage- An explanation of why the relationship is in its current state, when more detail is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-