@Generated(value="software.amazon.awssdk:codegen") public final class ServerSideEncryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerSideEncryption.Builder,ServerSideEncryption>
Provides information about the server-side encryption settings for an S3 bucket or S3 object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServerSideEncryption.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServerSideEncryption.Builder |
builder() |
EncryptionType |
encryptionType()
The server-side encryption algorithm that's used when storing data in the bucket or object.
|
String |
encryptionTypeAsString()
The server-side encryption algorithm that's used when storing data in the bucket or object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsMasterKeyId()
The unique identifier for the AWS Key Management Service (AWS KMS) master key that's used to encrypt the bucket
or object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServerSideEncryption.Builder> |
serializableBuilderClass() |
ServerSideEncryption.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic EncryptionType encryptionType()
The server-side encryption algorithm that's used when storing data in the bucket or object. If encryption is disabled for the bucket or object, this value is NONE.
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().
EncryptionTypepublic String encryptionTypeAsString()
The server-side encryption algorithm that's used when storing data in the bucket or object. If encryption is disabled for the bucket or object, this value is NONE.
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().
EncryptionTypepublic String kmsMasterKeyId()
The unique identifier for the AWS Key Management Service (AWS KMS) master key that's used to encrypt the bucket or object. This value is null if AWS KMS isn't used to encrypt the bucket or object.
public ServerSideEncryption.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServerSideEncryption.Builder,ServerSideEncryption>public static ServerSideEncryption.Builder builder()
public static Class<? extends ServerSideEncryption.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.