public final class AmazonS3EncryptionClientV2Builder extends AmazonS3Builder<AmazonS3EncryptionClientV2Builder,AmazonS3EncryptionV2>
AwsClientBuilder.EndpointConfiguration
Constructor and Description |
---|
AmazonS3EncryptionClientV2Builder() |
Modifier and Type | Method and Description |
---|---|
void |
setCryptoConfiguration(CryptoConfigurationV2 cryptoConfig)
Sets the crypto configuration whose parameters will be used to encrypt and decrypt data.
|
void |
setEncryptionMaterialsProvider(EncryptionMaterialsProvider encryptionMaterialsProvider)
Sets the encryption materials to be used to encrypt and decrypt data
|
void |
setKmsClient(AWSKMS kmsClient)
Sets the KMS implementation to be used throughout the crypto process
|
static AmazonS3EncryptionClientV2Builder |
standard() |
AmazonS3EncryptionClientV2Builder |
withCryptoConfiguration(CryptoConfigurationV2 cryptoConfig)
Sets the crypto configuration whose parameters will be used to encrypt and decrypt data.
|
AmazonS3EncryptionClientV2Builder |
withEncryptionMaterialsProvider(EncryptionMaterialsProvider encryptionMaterialsProvider)
Sets the encryption materials to be used to encrypt and decrypt data
|
AmazonS3EncryptionClientV2Builder |
withKmsClient(AWSKMS kmsClient)
Sets the KMS implementation to be used throughout the crypto process
|
disableChunkedEncoding, enableAccelerateMode, enableDualstack, enableForceGlobalBucketAccess, enablePathStyleAccess, enablePayloadSigning, enableRegionalUsEast1Endpoint, enableUseArnRegion, isAccelerateModeEnabled, isChunkedEncodingDisabled, isDualstackEnabled, isForceGlobalBucketAccessEnabled, isPathStyleAccessEnabled, isPayloadSigningEnabled, isRegionalUsEast1EndpointEnabled, isUseArnRegionEnabled, setAccelerateModeEnabled, setChunkedEncodingDisabled, setDualstackEnabled, setForceGlobalBucketAccessEnabled, setPathStyleAccessEnabled, setPayloadSigningEnabled, setRegionalUsEast1EndpointEnabled, withAccelerateModeEnabled, withChunkedEncodingDisabled, withDualstackEnabled, withForceGlobalBucketAccessEnabled, withPathStyleAccessEnabled, withPayloadSigningEnabled, withRegionalUsEast1EndpointEnabled
build
getClientConfiguration, getClientSideMonitoringConfigurationProvider, getCredentials, getEndpoint, getMetricsCollector, getMonitoringListener, getRegion, getRequestHandlers, setClientConfiguration, setClientSideMonitoringConfigurationProvider, setCredentials, setEndpointConfiguration, setMetricsCollector, setMonitoringListener, setRegion, setRequestHandlers, withClientConfiguration, withClientSideMonitoringConfigurationProvider, withCredentials, withEndpointConfiguration, withMetricsCollector, withMonitoringListener, withRegion, withRegion, withRequestHandlers
public static AmazonS3EncryptionClientV2Builder standard()
public void setEncryptionMaterialsProvider(EncryptionMaterialsProvider encryptionMaterialsProvider)
encryptionMaterialsProvider
- a provider for the encryption materialspublic AmazonS3EncryptionClientV2Builder withEncryptionMaterialsProvider(EncryptionMaterialsProvider encryptionMaterialsProvider)
encryptionMaterialsProvider
- A provider for the encryption materials to be used to encrypt and decrypt data.public void setCryptoConfiguration(CryptoConfigurationV2 cryptoConfig)
cryptoConfig
- crypto configurationpublic AmazonS3EncryptionClientV2Builder withCryptoConfiguration(CryptoConfigurationV2 cryptoConfig)
cryptoConfig
- crypto configurationpublic void setKmsClient(AWSKMS kmsClient)
kmsClient
- an AWSKMS
implementation (e.g. AWSKMSClient
)public AmazonS3EncryptionClientV2Builder withKmsClient(AWSKMS kmsClient)
kmsClient
- an AWSKMS
implementation (e.g. AWSKMSClient
)