Interface GetAssetResponse.Builder

    • Method Detail

      • createdAt

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

        GetAssetResponse.Builder createdBy​(String createdBy)

        The Amazon DataZone user who created the asset.

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

        GetAssetResponse.Builder description​(String description)

        The description of the Amazon DataZone asset.

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

        GetAssetResponse.Builder domainId​(String domainId)

        The ID of the Amazon DataZone domain to which the asset belongs.

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

        GetAssetResponse.Builder externalIdentifier​(String externalIdentifier)

        The external ID of the asset.

        Parameters:
        externalIdentifier - The external ID of the asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • firstRevisionCreatedAt

        GetAssetResponse.Builder firstRevisionCreatedAt​(Instant firstRevisionCreatedAt)

        The timestamp of when the first revision of the asset was created.

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

        GetAssetResponse.Builder firstRevisionCreatedBy​(String firstRevisionCreatedBy)

        The Amazon DataZone user who created the first revision of the asset.

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

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

        The metadata forms attached to the asset.

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

        GetAssetResponse.Builder formsOutput​(FormOutput... formsOutput)

        The metadata forms attached to the asset.

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

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

        The business glossary terms attached to the asset.

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

        GetAssetResponse.Builder glossaryTerms​(String... glossaryTerms)

        The business glossary terms attached to the asset.

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

        GetAssetResponse.Builder id​(String id)

        The ID of the asset.

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

        GetAssetResponse.Builder latestTimeSeriesDataPointFormsOutput​(Collection<TimeSeriesDataPointSummaryFormOutput> latestTimeSeriesDataPointFormsOutput)

        The latest data point that was imported into the time series form for the asset.

        Parameters:
        latestTimeSeriesDataPointFormsOutput - The latest data point that was imported into the time series form for the asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latestTimeSeriesDataPointFormsOutput

        GetAssetResponse.Builder latestTimeSeriesDataPointFormsOutput​(TimeSeriesDataPointSummaryFormOutput... latestTimeSeriesDataPointFormsOutput)

        The latest data point that was imported into the time series form for the asset.

        Parameters:
        latestTimeSeriesDataPointFormsOutput - The latest data point that was imported into the time series form for the asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • listing

        GetAssetResponse.Builder listing​(AssetListingDetails listing)

        The listing of the asset.

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

        GetAssetResponse.Builder name​(String name)

        The name of the asset.

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

        GetAssetResponse.Builder owningProjectId​(String owningProjectId)

        The ID of the project that owns the asset.

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

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

        The read-only metadata forms attached to the asset.

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

        GetAssetResponse.Builder readOnlyFormsOutput​(FormOutput... readOnlyFormsOutput)

        The read-only metadata forms attached to the asset.

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

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

        The read-only metadata forms attached to the 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

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

        GetAssetResponse.Builder typeIdentifier​(String typeIdentifier)

        The ID of the asset type.

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

        GetAssetResponse.Builder typeRevision​(String typeRevision)

        The revision of the asset type.

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