Interface EncryptionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionConfiguration.Builder,,EncryptionConfiguration> SdkBuilder<EncryptionConfiguration.Builder,,EncryptionConfiguration> SdkPojo
- Enclosing class:
EncryptionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionreplicaKmsKeyID(String replicaKmsKeyID) Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket.default EncryptionConfiguration.BuilderuseSourceMultiRegionKey(Consumer<UseSourceMultiRegionKey.Builder> useSourceMultiRegionKey) Specifies whether Amazon S3 uses the related multi-Region KMS key in the destination Amazon Web Services Region to encrypt the replica.useSourceMultiRegionKey(UseSourceMultiRegionKey useSourceMultiRegionKey) Specifies whether Amazon S3 uses the related multi-Region KMS key in the destination Amazon Web Services Region to encrypt the replica.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
replicaKmsKeyID
Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
- Parameters:
replicaKmsKeyID- Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useSourceMultiRegionKey
EncryptionConfiguration.Builder useSourceMultiRegionKey(UseSourceMultiRegionKey useSourceMultiRegionKey) Specifies whether Amazon S3 uses the related multi-Region KMS key in the destination Amazon Web Services Region to encrypt the replica.
- Parameters:
useSourceMultiRegionKey- Specifies whether Amazon S3 uses the related multi-Region KMS key in the destination Amazon Web Services Region to encrypt the replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useSourceMultiRegionKey
default EncryptionConfiguration.Builder useSourceMultiRegionKey(Consumer<UseSourceMultiRegionKey.Builder> useSourceMultiRegionKey) Specifies whether Amazon S3 uses the related multi-Region KMS key in the destination Amazon Web Services Region to encrypt the replica.
This is a convenience method that creates an instance of theUseSourceMultiRegionKey.Builderavoiding the need to create one manually viaUseSourceMultiRegionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touseSourceMultiRegionKey(UseSourceMultiRegionKey).- Parameters:
useSourceMultiRegionKey- a consumer that will call methods onUseSourceMultiRegionKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-