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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssetEntry.Builder
arn(String arn)
The ARN for the asset.default AssetEntry.Builder
assetDetails(Consumer<AssetDetails.Builder> assetDetails)
Details about the asset.AssetEntry.Builder
assetDetails(AssetDetails assetDetails)
Details about the asset.AssetEntry.Builder
assetType(String assetType)
The type of asset that is added to a data set.AssetEntry.Builder
assetType(AssetType assetType)
The type of asset that is added to a data set.AssetEntry.Builder
createdAt(Instant createdAt)
The date and time that the asset was created, in ISO 8601 format.AssetEntry.Builder
dataSetId(String dataSetId)
The unique identifier for the data set associated with this asset.AssetEntry.Builder
id(String id)
The unique identifier for the asset.AssetEntry.Builder
name(String name)
The name of the asset.AssetEntry.Builder
revisionId(String revisionId)
The unique identifier for the revision associated with this asset.AssetEntry.Builder
sourceId(String sourceId)
The asset ID of the owned asset corresponding to the entitled asset being viewed.AssetEntry.Builder
updatedAt(Instant updatedAt)
The date and time that the asset was last updated, in ISO 8601 format.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
AssetEntry.Builder arn(String 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 theAssetDetails.Builder
avoiding the need to create one manually viaAssetDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetDetails(AssetDetails)
.- Parameters:
assetDetails
- a consumer that will call methods onAssetDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
assetDetails(AssetDetails)
-
assetType
AssetEntry.Builder assetType(String assetType)
The type of asset that is added to a data set.
-
assetType
AssetEntry.Builder assetType(AssetType assetType)
The type of asset that is added to a data set.
-
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
AssetEntry.Builder id(String 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
AssetEntry.Builder name(String 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.
-
-