Interface DescribeDomainReplicationResponse.Builder

  • Method Details

    • domainArn

      The Amazon Resource Name (ARN) of the domain described.

      Parameters:
      domainArn - The Amazon Resource Name (ARN) of the domain described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • role

      The domain's role in the arrangement, either PRIMARY or SECONDARY. Absent when the domain is not replicating.

      Parameters:
      role - The domain's role in the arrangement, either PRIMARY or SECONDARY. Absent when the domain is not replicating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • role

      The domain's role in the arrangement, either PRIMARY or SECONDARY. Absent when the domain is not replicating.

      Parameters:
      role - The domain's role in the arrangement, either PRIMARY or SECONDARY. Absent when the domain is not replicating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • peers

      The domains that this domain replicates with. Each entry carries the state of that one relationship. Empty when the domain is not replicating.

      Parameters:
      peers - The domains that this domain replicates with. Each entry carries the state of that one relationship. Empty when the domain is not replicating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • peers

      The domains that this domain replicates with. Each entry carries the state of that one relationship. Empty when the domain is not replicating.

      Parameters:
      peers - The domains that this domain replicates with. Each entry carries the state of that one relationship. Empty when the domain is not replicating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • peers

      The domains that this domain replicates with. Each entry carries the state of that one relationship. Empty when the domain is not replicating.

      This is a convenience method that creates an instance of the ReplicationPeer.Builder avoiding the need to create one manually via ReplicationPeer.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to peers(List<ReplicationPeer>).

      Parameters:
      peers - a consumer that will call methods on ReplicationPeer.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: