Interface CreateAssetResponse.Builder

    • Method Detail

      • createdAt

        CreateAssetResponse.Builder createdAt​(Instant createdAt)

        The timestamp of when the asset was created.

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

        CreateAssetResponse.Builder createdBy​(String createdBy)

        The Amazon DataZone user that created this asset in the catalog.

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

        CreateAssetResponse.Builder description​(String description)

        The description of the created asset.

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

        CreateAssetResponse.Builder domainId​(String domainId)

        The ID of the Amazon DataZone domain in which the asset was created.

        Parameters:
        domainId - The ID of the Amazon DataZone domain in which the asset was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • externalIdentifier

        CreateAssetResponse.Builder externalIdentifier​(String externalIdentifier)

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

        CreateAssetResponse.Builder firstRevisionCreatedAt​(Instant firstRevisionCreatedAt)

        The timestamp of when the first revision of the asset took place.

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

        CreateAssetResponse.Builder firstRevisionCreatedBy​(String firstRevisionCreatedBy)

        The Amazon DataZone user that made the first revision of the asset.

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

        CreateAssetResponse.Builder formsOutput​(Collection<FormOutput> formsOutput)

        The metadata forms that are attached to the created asset.

        Parameters:
        formsOutput - The metadata forms that are attached to the created asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • formsOutput

        CreateAssetResponse.Builder formsOutput​(FormOutput... formsOutput)

        The metadata forms that are attached to the created asset.

        Parameters:
        formsOutput - The metadata forms that are attached to the created asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • glossaryTerms

        CreateAssetResponse.Builder glossaryTerms​(Collection<String> glossaryTerms)

        The glossary terms that are attached to the created asset.

        Parameters:
        glossaryTerms - The glossary terms that are attached to the created asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • glossaryTerms

        CreateAssetResponse.Builder glossaryTerms​(String... glossaryTerms)

        The glossary terms that are attached to the created asset.

        Parameters:
        glossaryTerms - The glossary terms that are attached to the created asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        CreateAssetResponse.Builder id​(String id)

        The unique identifier of the created asset.

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

        CreateAssetResponse.Builder name​(String name)

        The name of the created asset.

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

        CreateAssetResponse.Builder owningProjectId​(String owningProjectId)

        The ID of the Amazon DataZone project that owns the created asset.

        Parameters:
        owningProjectId - The ID of the Amazon DataZone project that owns the created asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • predictionConfiguration

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

        CreateAssetResponse.Builder readOnlyFormsOutput​(Collection<FormOutput> readOnlyFormsOutput)

        The read-only metadata forms that are attached to the created asset.

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

        CreateAssetResponse.Builder readOnlyFormsOutput​(FormOutput... readOnlyFormsOutput)

        The read-only metadata forms that are attached to the created asset.

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

        CreateAssetResponse.Builder readOnlyFormsOutput​(Consumer<FormOutput.Builder>... readOnlyFormsOutput)

        The read-only metadata forms that are attached to the created asset.

        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

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

        CreateAssetResponse.Builder typeIdentifier​(String typeIdentifier)

        The identifier of the created asset type.

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

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