Interface CreateAssetRevisionResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateAssetRevisionResponse.Builder,CreateAssetRevisionResponse>, DataZoneResponse.Builder, SdkBuilder<CreateAssetRevisionResponse.Builder,CreateAssetRevisionResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateAssetRevisionResponse

public static interface CreateAssetRevisionResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CreateAssetRevisionResponse.Builder,CreateAssetRevisionResponse>
  • Method Details

    • createdAt

      The timestamp of when the asset revision occured.

      Parameters:
      createdAt - The timestamp of when the asset revision occured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      The Amazon DataZone user who performed the asset revision.

      Parameters:
      createdBy - The Amazon DataZone user who performed the asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateAssetRevisionResponse.Builder description(String description)

      The revised asset description.

      Parameters:
      description - The revised asset description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainId

      The unique identifier of the Amazon DataZone domain where the asset was revised.

      Parameters:
      domainId - The unique identifier of the Amazon DataZone domain where the asset was revised.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalIdentifier

      CreateAssetRevisionResponse.Builder externalIdentifier(String externalIdentifier)

      Parameters:
      externalIdentifier -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firstRevisionCreatedAt

      CreateAssetRevisionResponse.Builder firstRevisionCreatedAt(Instant firstRevisionCreatedAt)

      The timestamp of when the first asset revision occured.

      Parameters:
      firstRevisionCreatedAt - The timestamp of when the first asset revision occured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firstRevisionCreatedBy

      CreateAssetRevisionResponse.Builder firstRevisionCreatedBy(String firstRevisionCreatedBy)

      The Amazon DataZone user who performed the first asset revision.

      Parameters:
      firstRevisionCreatedBy - The Amazon DataZone user who performed the first asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formsOutput

      The metadata forms that were attached to the asset as part of the asset revision.

      Parameters:
      formsOutput - The metadata forms that were attached to the asset as part of the asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formsOutput

      CreateAssetRevisionResponse.Builder formsOutput(FormOutput... formsOutput)

      The metadata forms that were attached to the asset as part of the asset revision.

      Parameters:
      formsOutput - The metadata forms that were attached to the asset as part of the asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formsOutput

      The metadata forms that were attached to the asset as part of the asset revision.

      This is a convenience method that creates an instance of the FormOutput.Builder avoiding the need to create one manually via FormOutput.builder().

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

      Parameters:
      formsOutput - a consumer that will call methods on FormOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • glossaryTerms

      CreateAssetRevisionResponse.Builder glossaryTerms(Collection<String> glossaryTerms)

      The glossary terms that were attached to the asset as part of asset revision.

      Parameters:
      glossaryTerms - The glossary terms that were attached to the asset as part of asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • glossaryTerms

      CreateAssetRevisionResponse.Builder glossaryTerms(String... glossaryTerms)

      The glossary terms that were attached to the asset as part of asset revision.

      Parameters:
      glossaryTerms - The glossary terms that were attached to the asset as part of asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique identifier of the asset revision.

      Parameters:
      id - The unique identifier of the asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • listing

      Parameters:
      listing -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • listing

      This is a convenience method that creates an instance of the AssetListingDetails.Builder avoiding the need to create one manually via AssetListingDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to listing(AssetListingDetails).

      Parameters:
      listing - a consumer that will call methods on AssetListingDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The revised name of the asset.

      Parameters:
      name - The revised name of the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owningProjectId

      CreateAssetRevisionResponse.Builder owningProjectId(String owningProjectId)

      The unique identifier of the revised project that owns the asset.

      Parameters:
      owningProjectId - The unique identifier of the revised project that owns the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictionConfiguration

      CreateAssetRevisionResponse.Builder predictionConfiguration(PredictionConfiguration predictionConfiguration)

      The configuration of the automatically generated business-friendly metadata for the asset.

      Parameters:
      predictionConfiguration - The configuration of the automatically generated business-friendly metadata for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictionConfiguration

      default CreateAssetRevisionResponse.Builder predictionConfiguration(Consumer<PredictionConfiguration.Builder> predictionConfiguration)

      The configuration of the automatically generated business-friendly metadata for the asset.

      This is a convenience method that creates an instance of the PredictionConfiguration.Builder avoiding the need to create one manually via PredictionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to predictionConfiguration(PredictionConfiguration).

      Parameters:
      predictionConfiguration - a consumer that will call methods on PredictionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • readOnlyFormsOutput

      CreateAssetRevisionResponse.Builder readOnlyFormsOutput(Collection<FormOutput> readOnlyFormsOutput)

      The read-only metadata forms that were attached to the asset as part of the asset revision.

      Parameters:
      readOnlyFormsOutput - The read-only metadata forms that were attached to the asset as part of the asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readOnlyFormsOutput

      CreateAssetRevisionResponse.Builder readOnlyFormsOutput(FormOutput... readOnlyFormsOutput)

      The read-only metadata forms that were attached to the asset as part of the asset revision.

      Parameters:
      readOnlyFormsOutput - The read-only metadata forms that were attached to the asset as part of the asset revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readOnlyFormsOutput

      CreateAssetRevisionResponse.Builder readOnlyFormsOutput(Consumer<FormOutput.Builder>... readOnlyFormsOutput)

      The read-only metadata forms that were attached to the asset as part of the asset revision.

      This is a convenience method that creates an instance of the FormOutput.Builder avoiding the need to create one manually via FormOutput.builder().

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

      Parameters:
      readOnlyFormsOutput - a consumer that will call methods on FormOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • revision

      The revision of the asset.

      Parameters:
      revision - The revision of the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • typeIdentifier

      CreateAssetRevisionResponse.Builder typeIdentifier(String typeIdentifier)

      The identifier of the revision type.

      Parameters:
      typeIdentifier - The identifier of the revision type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • typeRevision

      CreateAssetRevisionResponse.Builder typeRevision(String typeRevision)

      The revision type of the asset.

      Parameters:
      typeRevision - The revision type of the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.