public final class AmazonS3EncryptionClientBuilder extends AmazonS3Builder<AmazonS3EncryptionClientBuilder,AmazonS3Encryption>
AwsClientBuilder.EndpointConfiguration| Constructor and Description |
|---|
AmazonS3EncryptionClientBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static AmazonS3Encryption |
defaultClient() |
void |
setCryptoConfiguration(CryptoConfiguration cryptoConfig)
Sets the crypto configuration whose parameters will be used to encrypt and decrypt data.
|
void |
setEncryptionMaterials(EncryptionMaterialsProvider encryptionMaterials)
Sets the encryption materials to be used to encrypt and decrypt data
|
void |
setKms(AWSKMS kms)
Sets the KMS implementation to be used throughout the crypto process
|
static AmazonS3EncryptionClientBuilder |
standard() |
AmazonS3EncryptionClientBuilder |
withCryptoConfiguration(CryptoConfiguration cryptoConfig)
Sets the crypto configuration whose parameters will be used to encrypt and decrypt data.
|
AmazonS3EncryptionClientBuilder |
withEncryptionMaterials(EncryptionMaterialsProvider encryptionMaterials)
Sets the encryption materials to be used to encrypt and decrypt data
|
AmazonS3EncryptionClientBuilder |
withKmsClient(AWSKMS kms)
Sets the KMS implementation to be used throughout the crypto process
|
disableChunkedEncoding, enableAccelerateMode, enableDualstack, enableForceGlobalBucketAccess, enablePathStyleAccess, enablePayloadSigning, isAccelerateModeEnabled, isChunkedEncodingDisabled, isDualstackEnabled, isForceGlobalBucketAccessEnabled, isPathStyleAccessEnabled, isPayloadSigningEnabled, setAccelerateModeEnabled, setChunkedEncodingDisabled, setDualstackEnabled, setForceGlobalBucketAccessEnabled, setPathStyleAccessEnabled, setPayloadSigningEnabled, withAccelerateModeEnabled, withChunkedEncodingDisabled, withDualstackEnabled, withForceGlobalBucketAccessEnabled, withPathStyleAccessEnabled, withPayloadSigningEnabledbuildgetClientConfiguration, getCredentials, getEndpoint, getMetricsCollector, getRegion, getRequestHandlers, setClientConfiguration, setCredentials, setEndpointConfiguration, setMetricsCollector, setRegion, setRequestHandlers, withClientConfiguration, withCredentials, withEndpointConfiguration, withMetricsCollector, withRegion, withRegion, withRequestHandlerspublic static AmazonS3EncryptionClientBuilder standard()
public static AmazonS3Encryption defaultClient()
DefaultAWSCredentialsProviderChain
and DefaultAwsRegionProviderChain chainpublic void setEncryptionMaterials(EncryptionMaterialsProvider encryptionMaterials)
encryptionMaterials - a provider for the encryption materialspublic AmazonS3EncryptionClientBuilder withEncryptionMaterials(EncryptionMaterialsProvider encryptionMaterials)
encryptionMaterials - A provider for the encryption materials to be used to encrypt and decrypt data.public void setCryptoConfiguration(CryptoConfiguration cryptoConfig)
cryptoConfig - crypto configurationpublic AmazonS3EncryptionClientBuilder withCryptoConfiguration(CryptoConfiguration cryptoConfig)
cryptoConfig - crypto configurationpublic void setKms(AWSKMS kms)
kms - an AWSKMS implementation (e.g. AWSKMSClient)public AmazonS3EncryptionClientBuilder withKmsClient(AWSKMS kms)
kms - an AWSKMS implementation (e.g. AWSKMSClient)Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.