@Generated(value="software.amazon.awssdk:codegen") public final class Encryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Encryption.Builder,Encryption>
Contains the type of server-side encryption used.
Modifier and Type | Class and Description |
---|---|
static interface |
Encryption.Builder |
Modifier and Type | Method and Description |
---|---|
static Encryption.Builder |
builder() |
ServerSideEncryption |
encryptionType()
The server-side encryption algorithm used when storing job results in Amazon S3 (e.g., AES256, aws:kms).
|
String |
encryptionTypeAsString()
The server-side encryption algorithm used when storing job results in Amazon S3 (e.g., AES256, aws:kms).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsContext()
If the encryption type is aws:kms, this optional value can be used to specify the encryption context for the
restore results.
|
String |
kmsKeyId()
If the encryption type is aws:kms, this optional value specifies the AWS KMS key ID to use for encryption of job
results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Encryption.Builder> |
serializableBuilderClass() |
Encryption.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public ServerSideEncryption encryptionType()
The server-side encryption algorithm used when storing job results in Amazon S3 (e.g., AES256, aws:kms).
If the service returns an enum value that is not available in the current SDK version, encryptionType
will return ServerSideEncryption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from encryptionTypeAsString()
.
ServerSideEncryption
public String encryptionTypeAsString()
The server-side encryption algorithm used when storing job results in Amazon S3 (e.g., AES256, aws:kms).
If the service returns an enum value that is not available in the current SDK version, encryptionType
will return ServerSideEncryption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from encryptionTypeAsString()
.
ServerSideEncryption
public String kmsKeyId()
If the encryption type is aws:kms, this optional value specifies the AWS KMS key ID to use for encryption of job results.
public String kmsContext()
If the encryption type is aws:kms, this optional value can be used to specify the encryption context for the restore results.
public Encryption.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Encryption.Builder,Encryption>
public static Encryption.Builder builder()
public static Class<? extends Encryption.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.