Interface ImportAssetsFromRedshiftDataSharesRequestDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportAssetsFromRedshiftDataSharesRequestDetails.Builder,
,ImportAssetsFromRedshiftDataSharesRequestDetails> SdkBuilder<ImportAssetsFromRedshiftDataSharesRequestDetails.Builder,
,ImportAssetsFromRedshiftDataSharesRequestDetails> SdkPojo
- Enclosing class:
ImportAssetsFromRedshiftDataSharesRequestDetails
public static interface ImportAssetsFromRedshiftDataSharesRequestDetails.Builder
extends SdkPojo, CopyableBuilder<ImportAssetsFromRedshiftDataSharesRequestDetails.Builder,ImportAssetsFromRedshiftDataSharesRequestDetails>
-
Method Summary
Modifier and TypeMethodDescriptionassetSources
(Collection<RedshiftDataShareAssetSourceEntry> assetSources) A list of Amazon Redshift datashare assets.assetSources
(Consumer<RedshiftDataShareAssetSourceEntry.Builder>... assetSources) A list of Amazon Redshift datashare assets.assetSources
(RedshiftDataShareAssetSourceEntry... assetSources) A list of Amazon Redshift datashare assets.The unique identifier for the data set associated with this import job.revisionId
(String revisionId) The unique identifier for the revision associated with this import job.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 Details
-
assetSources
ImportAssetsFromRedshiftDataSharesRequestDetails.Builder assetSources(Collection<RedshiftDataShareAssetSourceEntry> assetSources) A list of Amazon Redshift datashare assets.
- Parameters:
assetSources
- A list of Amazon Redshift datashare assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetSources
ImportAssetsFromRedshiftDataSharesRequestDetails.Builder assetSources(Consumer<RedshiftDataShareAssetSourceEntry.Builder>... assetSources) A list of Amazon Redshift datashare assets.
This is a convenience method that creates an instance of theRedshiftDataShareAssetSourceEntry.Builder
avoiding the need to create one manually viaRedshiftDataShareAssetSourceEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetSources(List<RedshiftDataShareAssetSourceEntry>)
.- Parameters:
assetSources
- a consumer that will call methods onRedshiftDataShareAssetSourceEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSetId
The unique identifier for the data set associated with this import job.
- Parameters:
dataSetId
- The unique identifier for the data set associated with this import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The unique identifier for the revision associated with this import job.
- Parameters:
revisionId
- The unique identifier for the revision associated with this import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-