Interface AssetEntry.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AssetEntry.Builder,AssetEntry>, SdkBuilder<AssetEntry.Builder,AssetEntry>, SdkPojo
Enclosing class:
AssetEntry

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

    • arn

      The ARN for the asset.

      Parameters:
      arn - The ARN for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetDetails

      AssetEntry.Builder assetDetails(AssetDetails assetDetails)

      Details about the asset.

      Parameters:
      assetDetails - Details about the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetDetails

      default AssetEntry.Builder assetDetails(Consumer<AssetDetails.Builder> assetDetails)

      Details about the asset.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assetDetails(AssetDetails).

      Parameters:
      assetDetails - a consumer that will call methods on AssetDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • assetType

      AssetEntry.Builder assetType(String assetType)

      The type of asset that is added to a data set.

      Parameters:
      assetType - The type of asset that is added to a data set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • assetType

      AssetEntry.Builder assetType(AssetType assetType)

      The type of asset that is added to a data set.

      Parameters:
      assetType - The type of asset that is added to a data set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      AssetEntry.Builder createdAt(Instant createdAt)

      The date and time that the asset was created, in ISO 8601 format.

      Parameters:
      createdAt - The date and time that the asset was created, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSetId

      AssetEntry.Builder dataSetId(String dataSetId)

      The unique identifier for the data set associated with this asset.

      Parameters:
      dataSetId - The unique identifier for the data set associated with this asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique identifier for the asset.

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

      The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in LF-tag policy" or "Table(s) included in LF-tag policy" are used as the asset name.

      Parameters:
      name - The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in LF-tag policy" or "Table(s) included in LF-tag policy" are used as the asset name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      AssetEntry.Builder revisionId(String revisionId)

      The unique identifier for the revision associated with this asset.

      Parameters:
      revisionId - The unique identifier for the revision associated with this asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceId

      AssetEntry.Builder sourceId(String sourceId)

      The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.

      Parameters:
      sourceId - The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      AssetEntry.Builder updatedAt(Instant updatedAt)

      The date and time that the asset was last updated, in ISO 8601 format.

      Parameters:
      updatedAt - The date and time that the asset was last updated, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.