Interface DescribeMetadataModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMetadataModelResponse.Builder,,DescribeMetadataModelResponse> DatabaseMigrationResponse.Builder,SdkBuilder<DescribeMetadataModelResponse.Builder,,DescribeMetadataModelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeMetadataModelResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefinition(String definition) The SQL text of the metadata model.metadataModelName(String metadataModelName) The name of the metadata model.metadataModelType(String metadataModelType) The type of the metadata model.targetMetadataModels(Collection<MetadataModelReference> targetMetadataModels) A list of counterpart metadata models in the target.targetMetadataModels(Consumer<MetadataModelReference.Builder>... targetMetadataModels) A list of counterpart metadata models in the target.targetMetadataModels(MetadataModelReference... targetMetadataModels) A list of counterpart metadata models in the target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
metadataModelType
The type of the metadata model.
- Parameters:
metadataModelType- The type of the metadata model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetMetadataModels
DescribeMetadataModelResponse.Builder targetMetadataModels(Collection<MetadataModelReference> targetMetadataModels) A list of counterpart metadata models in the target. This field is populated only when Origin is SOURCE and after the object has been converted by DMS Schema Conversion.
- Parameters:
targetMetadataModels- A list of counterpart metadata models in the target. This field is populated only when Origin is SOURCE and after the object has been converted by DMS Schema Conversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetMetadataModels
DescribeMetadataModelResponse.Builder targetMetadataModels(MetadataModelReference... targetMetadataModels) A list of counterpart metadata models in the target. This field is populated only when Origin is SOURCE and after the object has been converted by DMS Schema Conversion.
- Parameters:
targetMetadataModels- A list of counterpart metadata models in the target. This field is populated only when Origin is SOURCE and after the object has been converted by DMS Schema Conversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetMetadataModels
DescribeMetadataModelResponse.Builder targetMetadataModels(Consumer<MetadataModelReference.Builder>... targetMetadataModels) A list of counterpart metadata models in the target. This field is populated only when Origin is SOURCE and after the object has been converted by DMS Schema Conversion.
This is a convenience method that creates an instance of theMetadataModelReference.Builderavoiding the need to create one manually viaMetadataModelReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetMetadataModels(List<MetadataModelReference>).- Parameters:
targetMetadataModels- a consumer that will call methods onMetadataModelReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definition
The SQL text of the metadata model. This field might not be populated for some metadata models.
- Parameters:
definition- The SQL text of the metadata model. This field might not be populated for some metadata models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-