Interface DescribeDomainReplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDomainReplicationResponse.Builder,,DescribeDomainReplicationResponse> OpenSearchResponse.Builder,SdkBuilder<DescribeDomainReplicationResponse.Builder,,DescribeDomainReplicationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDomainReplicationResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the domain described.peers(Collection<ReplicationPeer> peers) The domains that this domain replicates with.peers(Consumer<ReplicationPeer.Builder>... peers) The domains that this domain replicates with.peers(ReplicationPeer... peers) The domains that this domain replicates with.The domain's role in the arrangement, eitherPRIMARYorSECONDARY.role(ReplicationRole role) The domain's role in the arrangement, eitherPRIMARYorSECONDARY.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
PRIMARYorSECONDARY. Absent when the domain is not replicating.- Parameters:
role- The domain's role in the arrangement, eitherPRIMARYorSECONDARY. 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
PRIMARYorSECONDARY. Absent when the domain is not replicating.- Parameters:
role- The domain's role in the arrangement, eitherPRIMARYorSECONDARY. 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 theReplicationPeer.Builderavoiding the need to create one manually viaReplicationPeer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topeers(List<ReplicationPeer>).- Parameters:
peers- a consumer that will call methods onReplicationPeer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-