Interface UpdateCloneRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCloneRequest.Builder,,UpdateCloneRequest> OpenSearchRequest.Builder,SdkBuilder<UpdateCloneRequest.Builder,,UpdateCloneRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateCloneRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateCloneRequest.BuildercutoverOptions(Consumer<CutoverRequestOptions.Builder> cutoverOptions) Cuts the domain over to the cloned cluster or back to the primary cluster.cutoverOptions(CutoverRequestOptions cutoverOptions) Cuts the domain over to the cloned cluster or back to the primary cluster.domainName(String domainName) The name of the domain that has a cloned blue/green upgrade in progress.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateCloneRequest.BuilderretentionOptions(Consumer<RetentionOptions.Builder> retentionOptions) Changes the retention period, or ends it after cutover completes.retentionOptions(RetentionOptions retentionOptions) Changes the retention period, or ends it after cutover completes.default UpdateCloneRequest.BuildertrafficSplitOptions(Consumer<TrafficSplitRequestOptions.Builder> trafficSplitOptions) Shifts a percentage of search traffic from the primary cluster to the cloned cluster.trafficSplitOptions(TrafficSplitRequestOptions trafficSplitOptions) Shifts a percentage of search traffic from the primary cluster to the cloned cluster.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
The name of the domain that has a cloned blue/green upgrade in progress.
- Parameters:
domainName- The name of the domain that has a cloned blue/green upgrade in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSplitOptions
Shifts a percentage of search traffic from the primary cluster to the cloned cluster.
- Parameters:
trafficSplitOptions- Shifts a percentage of search traffic from the primary cluster to the cloned cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSplitOptions
default UpdateCloneRequest.Builder trafficSplitOptions(Consumer<TrafficSplitRequestOptions.Builder> trafficSplitOptions) Shifts a percentage of search traffic from the primary cluster to the cloned cluster.
This is a convenience method that creates an instance of theTrafficSplitRequestOptions.Builderavoiding the need to create one manually viaTrafficSplitRequestOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrafficSplitOptions(TrafficSplitRequestOptions).- Parameters:
trafficSplitOptions- a consumer that will call methods onTrafficSplitRequestOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cutoverOptions
Cuts the domain over to the cloned cluster or back to the primary cluster.
- Parameters:
cutoverOptions- Cuts the domain over to the cloned cluster or back to the primary cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cutoverOptions
default UpdateCloneRequest.Builder cutoverOptions(Consumer<CutoverRequestOptions.Builder> cutoverOptions) Cuts the domain over to the cloned cluster or back to the primary cluster.
This is a convenience method that creates an instance of theCutoverRequestOptions.Builderavoiding the need to create one manually viaCutoverRequestOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocutoverOptions(CutoverRequestOptions).- Parameters:
cutoverOptions- a consumer that will call methods onCutoverRequestOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retentionOptions
Changes the retention period, or ends it after cutover completes.
- Parameters:
retentionOptions- Changes the retention period, or ends it after cutover completes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionOptions
default UpdateCloneRequest.Builder retentionOptions(Consumer<RetentionOptions.Builder> retentionOptions) Changes the retention period, or ends it after cutover completes.
This is a convenience method that creates an instance of theRetentionOptions.Builderavoiding the need to create one manually viaRetentionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretentionOptions(RetentionOptions).- Parameters:
retentionOptions- a consumer that will call methods onRetentionOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateCloneRequest.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
UpdateCloneRequest.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.
-