Interface S3DataAccessAssetSourceEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3DataAccessAssetSourceEntry.Builder,S3DataAccessAssetSourceEntry>,SdkBuilder<S3DataAccessAssetSourceEntry.Builder,S3DataAccessAssetSourceEntry>,SdkPojo
- Enclosing class:
- S3DataAccessAssetSourceEntry
public static interface S3DataAccessAssetSourceEntry.Builder extends SdkPojo, CopyableBuilder<S3DataAccessAssetSourceEntry.Builder,S3DataAccessAssetSourceEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3DataAccessAssetSourceEntry.Builderbucket(String bucket)The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.S3DataAccessAssetSourceEntry.BuilderkeyPrefixes(String... keyPrefixes)Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.S3DataAccessAssetSourceEntry.BuilderkeyPrefixes(Collection<String> keyPrefixes)Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.S3DataAccessAssetSourceEntry.Builderkeys(String... keys)The keys used to create the Amazon S3 data access.S3DataAccessAssetSourceEntry.Builderkeys(Collection<String> keys)The keys used to create the Amazon S3 data access.S3DataAccessAssetSourceEntry.BuilderkmsKeysToGrant(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.S3DataAccessAssetSourceEntry.BuilderkmsKeysToGrant(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.S3DataAccessAssetSourceEntry.BuilderkmsKeysToGrant(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 Detail
-
bucket
S3DataAccessAssetSourceEntry.Builder bucket(String 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
S3DataAccessAssetSourceEntry.Builder keyPrefixes(Collection<String> 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
S3DataAccessAssetSourceEntry.Builder keyPrefixes(String... 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
S3DataAccessAssetSourceEntry.Builder keys(Collection<String> 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
S3DataAccessAssetSourceEntry.Builder keys(String... 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
S3DataAccessAssetSourceEntry.Builder 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.
- 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(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.
- 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.Builderavoiding the need to create one manually viaKmsKeyToGrant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#kmsKeysToGrant(List.) - 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:
#kmsKeysToGrant(java.util.Collection)
-
-