@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.EncryptionTypepublic final 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.EncryptionTypepublic final 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 final 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()
toBuilder in interface ToCopyableBuilder<Encryption.Builder,Encryption>public static Encryption.Builder builder()
public static Class<? extends Encryption.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.