Interface CreateAssetResponse.Builder

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

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

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

      The external identifier of the asset.

      Parameters:
      externalIdentifier - The external identifier of the asset.
      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

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

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

      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

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

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

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

      CreateAssetResponse.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 details of an asset published in an Amazon DataZone catalog.

      Parameters:
      listing - The details of an asset published in an Amazon DataZone catalog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • listing

      The details of an asset published in an Amazon DataZone catalog.

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

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

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

      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.