Interface S3DataAccessAssetSourceEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3DataAccessAssetSourceEntry.Builder,
,S3DataAccessAssetSourceEntry> SdkBuilder<S3DataAccessAssetSourceEntry.Builder,
,S3DataAccessAssetSourceEntry> SdkPojo
- Enclosing class:
S3DataAccessAssetSourceEntry
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.keyPrefixes
(String... keyPrefixes) Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.keyPrefixes
(Collection<String> keyPrefixes) Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.The keys used to create the Amazon S3 data access.keys
(Collection<String> keys) The keys used to create the Amazon S3 data access.kmsKeysToGrant
(Collection<KmsKeyToGrant> kmsKeysToGrant) List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.kmsKeysToGrant
(Consumer<KmsKeyToGrant.Builder>... kmsKeysToGrant) List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.kmsKeysToGrant
(KmsKeyToGrant... kmsKeysToGrant) List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.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
-
bucket
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
- Parameters:
bucket
- The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPrefixes
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
- Parameters:
keyPrefixes
- Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPrefixes
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
- Parameters:
keyPrefixes
- Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The keys used to create the Amazon S3 data access.
- Parameters:
keys
- The keys used to create the Amazon S3 data access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The keys used to create the Amazon S3 data access.
- Parameters:
keys
- The keys used to create the Amazon S3 data access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeysToGrant
List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.
- Parameters:
kmsKeysToGrant
- List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeysToGrant
List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.
- Parameters:
kmsKeysToGrant
- List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeysToGrant
S3DataAccessAssetSourceEntry.Builder kmsKeysToGrant(Consumer<KmsKeyToGrant.Builder>... kmsKeysToGrant) List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset.
This is a convenience method that creates an instance of theKmsKeyToGrant.Builder
avoiding the need to create one manually viaKmsKeyToGrant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokmsKeysToGrant(List<KmsKeyToGrant>)
.- Parameters:
kmsKeysToGrant
- a consumer that will call methods onKmsKeyToGrant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-