@Generated(value="software.amazon.awssdk:codegen") public final class Encryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Encryption.Builder,Encryption>
Contains information about the encryption used to store the job results in Amazon S3.
Modifier and Type | Class and Description |
---|---|
static interface |
Encryption.Builder |
Modifier and Type | Method and Description |
---|---|
static Encryption.Builder |
builder() |
EncryptionType |
encryptionType()
The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256
or aws:kms . |
String |
encryptionTypeAsString()
The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256
or aws:kms . |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsContext()
Optional.
|
String |
kmsKeyId()
The AWS KMS key ID to use for object encryption.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Encryption.Builder> |
serializableBuilderClass() |
Encryption.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public EncryptionType encryptionType()
The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256
or aws:kms
.
If the service returns an enum value that is not available in the current SDK version, encryptionType
will return EncryptionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from encryptionTypeAsString()
.
AES256
or aws:kms
.EncryptionType
public String encryptionTypeAsString()
The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256
or aws:kms
.
If the service returns an enum value that is not available in the current SDK version, encryptionType
will return EncryptionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from encryptionTypeAsString()
.
AES256
or aws:kms
.EncryptionType
public String kmsKeyId()
The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.
public String kmsContext()
Optional. If the encryption type is aws:kms
, you can use this value to specify the encryption
context for the job results.
aws:kms
, you can use this value to specify the
encryption context for the job results.public Encryption.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Encryption.Builder,Encryption>
public static Encryption.Builder builder()
public static Class<? extends Encryption.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.