Interface DescribeMetadataModelResponse.Builder

  • Method Details

    • metadataModelName

      DescribeMetadataModelResponse.Builder metadataModelName(String 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

      DescribeMetadataModelResponse.Builder metadataModelType(String 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 the MetadataModelReference.Builder avoiding the need to create one manually via MetadataModelReference.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetMetadataModels(List<MetadataModelReference>).

      Parameters:
      targetMetadataModels - a consumer that will call methods on MetadataModelReference.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.