Interface SwitchoverReplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SwitchoverReplicationRequest.Builder,,SwitchoverReplicationRequest> OpenSearchRequest.Builder,SdkBuilder<SwitchoverReplicationRequest.Builder,,SwitchoverReplicationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SwitchoverReplicationRequest
@Mutable
@NotThreadSafe
public static interface SwitchoverReplicationRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<SwitchoverReplicationRequest.Builder,SwitchoverReplicationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondomainName(String domainName) Sets the value of the DomainName property for this object.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 relationship's current primary.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 relationship's current primary. The request is rejected if this domain is no longer the peer of the domain you are calling.
- Parameters:
peerDomainArn- The Amazon Resource Name (ARN) of the relationship's current primary. The request is rejected if this domain is no longer the peer of the domain you are calling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SwitchoverReplicationRequest.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
SwitchoverReplicationRequest.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.
-