Interface CreateAssetRevisionResponse.Builder

    • Method Detail

      • createdAt

        CreateAssetRevisionResponse.Builder createdAt​(Instant 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

        CreateAssetRevisionResponse.Builder createdBy​(String 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

        CreateAssetRevisionResponse.Builder domainId​(String 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

        CreateAssetRevisionResponse.Builder formsOutput​(Collection<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

        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.
      • 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

        CreateAssetRevisionResponse.Builder id​(String 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.
      • name

        CreateAssetRevisionResponse.Builder name​(String 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.
      • 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).

        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:
        #readOnlyFormsOutput(java.util.Collection)
      • revision

        CreateAssetRevisionResponse.Builder revision​(String 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.