Interface AddReplicationPeerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddReplicationPeerRequest.Builder,,AddReplicationPeerRequest> OpenSearchRequest.Builder,SdkBuilder<AddReplicationPeerRequest.Builder,,AddReplicationPeerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddReplicationPeerRequest
@Mutable
@NotThreadSafe
public static interface AddReplicationPeerRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<AddReplicationPeerRequest.Builder,AddReplicationPeerRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondomainName(String domainName) Sets the value of the DomainName property for this object.Whentrue, validates the request and reports whether replication could be established, without changing either domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.peerDomainArn(String peerDomainArn) The Amazon Resource Name (ARN) of the domain to replicate to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
Sets the value of the DomainName property for this object.- Parameters:
domainName- The new value for the DomainName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerDomainArn
The Amazon Resource Name (ARN) of the domain to replicate to. The peer must be in a different Region from the domain you are calling, and in the same AWS account.
- Parameters:
peerDomainArn- The Amazon Resource Name (ARN) of the domain to replicate to. The peer must be in a different Region from the domain you are calling, and in the same AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
When
true, validates the request and reports whether replication could be established, without changing either domain.- Parameters:
dryRun- Whentrue, validates the request and reports whether replication could be established, without changing either domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddReplicationPeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddReplicationPeerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-