Interface GetAssetResponse.Builder

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

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

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

      The 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 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

      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

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

      GetAssetResponse.Builder latestTimeSeriesDataPointFormsOutput(Consumer<TimeSeriesDataPointSummaryFormOutput.Builder>... latestTimeSeriesDataPointFormsOutput)

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

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

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

      Parameters:
      latestTimeSeriesDataPointFormsOutput - a consumer that will call methods on TimeSeriesDataPointSummaryFormOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • listing

      The listing of the asset.

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

      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.