Interface StartMigrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartMigrationRequest.Builder,,StartMigrationRequest> OpenSearchRequest.Builder,SdkBuilder<StartMigrationRequest.Builder,,StartMigrationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartMigrationRequest
@Mutable
@NotThreadSafe
public static interface StartMigrationRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<StartMigrationRequest.Builder,StartMigrationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier of the OpenSearch application to migrate saved objects into.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.default StartMigrationRequest.BuildermigrationOptions(Consumer<MigrationOptions.Builder> migrationOptions) The configuration options for the migration, including the source data source, target workspace, export filters, and conflict resolution strategy.migrationOptions(MigrationOptions migrationOptions) The configuration options for the migration, including the source data source, target workspace, export filters, and conflict resolution strategy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
applicationId
The unique identifier of the OpenSearch application to migrate saved objects into.
- Parameters:
applicationId- The unique identifier of the OpenSearch application to migrate saved objects into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationOptions
The configuration options for the migration, including the source data source, target workspace, export filters, and conflict resolution strategy.
- Parameters:
migrationOptions- The configuration options for the migration, including the source data source, target workspace, export filters, and conflict resolution strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
migrationOptions
default StartMigrationRequest.Builder migrationOptions(Consumer<MigrationOptions.Builder> migrationOptions) The configuration options for the migration, including the source data source, target workspace, export filters, and conflict resolution strategy.
This is a convenience method that creates an instance of theMigrationOptions.Builderavoiding the need to create one manually viaMigrationOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomigrationOptions(MigrationOptions).- Parameters:
migrationOptions- a consumer that will call methods onMigrationOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon OpenSearch Service ignores the request but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon OpenSearch Service ignores the request but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartMigrationRequest.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
StartMigrationRequest.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.
-