Interface UpdateAssetResponse.Builder

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

public static interface UpdateAssetResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<UpdateAssetResponse.Builder,UpdateAssetResponse>
  • 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

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

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

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

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

      UpdateAssetResponse.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 the 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 the 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

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

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

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