Interface StartMetadataModelCreationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartMetadataModelCreationRequest.Builder,,StartMetadataModelCreationRequest> DatabaseMigrationRequest.Builder,SdkBuilder<StartMetadataModelCreationRequest.Builder,,StartMetadataModelCreationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartMetadataModelCreationRequest
@Mutable
@NotThreadSafe
public static interface StartMetadataModelCreationRequest.Builder
extends DatabaseMigrationRequest.Builder, SdkPojo, CopyableBuilder<StartMetadataModelCreationRequest.Builder,StartMetadataModelCreationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmetadataModelName(String metadataModelName) The name of the metadata model.migrationProjectIdentifier(String migrationProjectIdentifier) The migration project name or Amazon Resource Name (ARN).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.properties(Consumer<MetadataModelProperties.Builder> properties) The properties of metadata model in JSON format.properties(MetadataModelProperties properties) The properties of metadata model in JSON format.selectionRules(String selectionRules) The JSON string that specifies the location where the metadata model will be created.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.databasemigration.model.DatabaseMigrationRequest.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
-
migrationProjectIdentifier
StartMetadataModelCreationRequest.Builder migrationProjectIdentifier(String migrationProjectIdentifier) The migration project name or Amazon Resource Name (ARN).
- Parameters:
migrationProjectIdentifier- The migration project name or Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectionRules
The JSON string that specifies the location where the metadata model will be created. Selection rules must specify a single schema. For more information, see Selection Rules in the DMS User Guide.
- Parameters:
selectionRules- The JSON string that specifies the location where the metadata model will be created. Selection rules must specify a single schema. For more information, see Selection Rules in the DMS User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataModelName
The name of the metadata model.
- Parameters:
metadataModelName- The name of the metadata model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The properties of metadata model in JSON format. This object is a Union. Only one member of this object can be specified or returned.
- Parameters:
properties- The properties of metadata model in JSON format. This object is a Union. Only one member of this object can be specified or returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
default StartMetadataModelCreationRequest.Builder properties(Consumer<MetadataModelProperties.Builder> properties) The properties of metadata model in JSON format. This object is a Union. Only one member of this object can be specified or returned.
This is a convenience method that creates an instance of theMetadataModelProperties.Builderavoiding the need to create one manually viaMetadataModelProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproperties(MetadataModelProperties).- Parameters:
properties- a consumer that will call methods onMetadataModelProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartMetadataModelCreationRequest.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
StartMetadataModelCreationRequest.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.
-