@Generated(value="software.amazon.awssdk:codegen") public final class ServerSideEncryptionUpdateDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerSideEncryptionUpdateDetails.Builder,ServerSideEncryptionUpdateDetails>
Details about the most recent server-side encryption configuration update. When the server-side encryption configuration is changed, dependency on the old KMS key is removed through an asynchronous process. When this update is complete, the domain’s data can only be accessed using the new KMS key.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServerSideEncryptionUpdateDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServerSideEncryptionUpdateDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
Message explaining the current UpdateStatus.
|
String |
oldKmsKeyId()
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a
new KMS key ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServerSideEncryptionUpdateDetails.Builder> |
serializableBuilderClass() |
ServerSideEncryptionUpdateDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ServerSideEncryptionUpdateStatus |
updateStatus()
Status of the server-side encryption update.
|
String |
updateStatusAsString()
Status of the server-side encryption update.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String message()
Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the cause of the failure.
public final String oldKmsKeyId()
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a new KMS key ID.
public final ServerSideEncryptionUpdateStatus updateStatus()
Status of the server-side encryption update. During an update, if there is an issue with the domain's current or old KMS key ID, such as an inaccessible or disabled key, then the status is FAILED. In order to resolve this, the key needs to be made accessible, and then an UpdateDomain call with the existing server-side encryption configuration will re-attempt this update process.
If the service returns an enum value that is not available in the current SDK version, updateStatus will
return ServerSideEncryptionUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from updateStatusAsString().
ServerSideEncryptionUpdateStatuspublic final String updateStatusAsString()
Status of the server-side encryption update. During an update, if there is an issue with the domain's current or old KMS key ID, such as an inaccessible or disabled key, then the status is FAILED. In order to resolve this, the key needs to be made accessible, and then an UpdateDomain call with the existing server-side encryption configuration will re-attempt this update process.
If the service returns an enum value that is not available in the current SDK version, updateStatus will
return ServerSideEncryptionUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from updateStatusAsString().
ServerSideEncryptionUpdateStatuspublic ServerSideEncryptionUpdateDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServerSideEncryptionUpdateDetails.Builder,ServerSideEncryptionUpdateDetails>public static ServerSideEncryptionUpdateDetails.Builder builder()
public static Class<? extends ServerSideEncryptionUpdateDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.