Interface StartMetadataModelCreationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartMetadataModelCreationRequest.Builder,,StartMetadataModelCreationRequest> DatabaseMigrationRequest.Builder,SdkBuilder<StartMetadataModelCreationRequest.Builder,,StartMetadataModelCreationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartMetadataModelCreationRequest
-
Method Summary
Modifier and TypeMethodDescriptionmetadataModelName(String metadataModelName) The name for the metadata model to use in subsequent operations.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 the metadata model.properties(MetadataModelProperties properties) The properties of the metadata model.selectionRules(String selectionRules) A JSON string that identifies the source schema for the metadata model.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
A JSON string that identifies the source schema for the metadata model. For the selection rule format and examples, see Selection rules in DMS Schema Conversion.
Usage:
-
Accepts only source selection rules, where
server-namein the object locator matches the source data provider. -
Supports only
explicitrule actions. -
Exactly one rule is allowed.
- Parameters:
selectionRules- A JSON string that identifies the source schema for the metadata model. For the selection rule format and examples, see Selection rules in DMS Schema Conversion.Usage:
-
Accepts only source selection rules, where
server-namein the object locator matches the source data provider. -
Supports only
explicitrule actions. -
Exactly one rule is allowed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
metadataModelName
The name for the metadata model to use in subsequent operations.
- Parameters:
metadataModelName- The name for the metadata model to use in subsequent operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The properties of the metadata model.
- Parameters:
properties- The properties of the metadata model.- 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 the metadata model.
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.
-