Class SSEDescription
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.SSEDescription
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SSEDescription.Builder,SSEDescription>
@Generated("software.amazon.awssdk:codegen") public final class SSEDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SSEDescription.Builder,SSEDescription>
The description of the server-side encryption status on the specified table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SSEDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SSEDescription.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
inaccessibleEncryptionDateTime()
Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's KMS key was inaccessible.String
kmsMasterKeyArn()
The KMS key ARN used for the KMS encryption.List<SdkField<?>>
sdkFields()
static Class<? extends SSEDescription.Builder>
serializableBuilderClass()
SSEType
sseType()
Server-side encryption type.String
sseTypeAsString()
Server-side encryption type.SSEStatus
status()
Represents the current state of server-side encryption.String
statusAsString()
Represents the current state of server-side encryption.SSEDescription.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
public final SSEStatus status()
Represents the current state of server-side encryption. The only supported values are:
-
ENABLED
- Server-side encryption is enabled. -
UPDATING
- Server-side encryption is being updated.
If the service returns an enum value that is not available in the current SDK version,
status
will returnSSEStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Represents the current state of server-side encryption. The only supported values are:
-
ENABLED
- Server-side encryption is enabled. -
UPDATING
- Server-side encryption is being updated.
-
- See Also:
SSEStatus
-
-
statusAsString
public final String statusAsString()
Represents the current state of server-side encryption. The only supported values are:
-
ENABLED
- Server-side encryption is enabled. -
UPDATING
- Server-side encryption is being updated.
If the service returns an enum value that is not available in the current SDK version,
status
will returnSSEStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Represents the current state of server-side encryption. The only supported values are:
-
ENABLED
- Server-side encryption is enabled. -
UPDATING
- Server-side encryption is being updated.
-
- See Also:
SSEStatus
-
-
sseType
public final SSEType sseType()
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
If the service returns an enum value that is not available in the current SDK version,
sseType
will returnSSEType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsseTypeAsString()
.- Returns:
- Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
-
- See Also:
SSEType
-
-
sseTypeAsString
public final String sseTypeAsString()
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
If the service returns an enum value that is not available in the current SDK version,
sseType
will returnSSEType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsseTypeAsString()
.- Returns:
- Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
-
- See Also:
SSEType
-
-
kmsMasterKeyArn
public final String kmsMasterKeyArn()
The KMS key ARN used for the KMS encryption.
- Returns:
- The KMS key ARN used for the KMS encryption.
-
inaccessibleEncryptionDateTime
public final Instant inaccessibleEncryptionDateTime()
Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's KMS key was inaccessible. This attribute will automatically be cleared when DynamoDB detects that the table's KMS key is accessible again. DynamoDB will initiate the table archival process when table's KMS key remains inaccessible for more than seven days from this date.
- Returns:
- Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's KMS key was inaccessible. This attribute will automatically be cleared when DynamoDB detects that the table's KMS key is accessible again. DynamoDB will initiate the table archival process when table's KMS key remains inaccessible for more than seven days from this date.
-
toBuilder
public SSEDescription.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SSEDescription.Builder,SSEDescription>
-
builder
public static SSEDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends SSEDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-