Class ServerSideEncryptionUpdateDetails
- java.lang.Object
-
- software.amazon.awssdk.services.voiceid.model.ServerSideEncryptionUpdateDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerSideEncryptionUpdateDetails.Builder,ServerSideEncryptionUpdateDetails>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServerSideEncryptionUpdateDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerSideEncryptionUpdateDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()Message explaining the current UpdateStatus.StringoldKmsKeyId()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.ServerSideEncryptionUpdateStatusupdateStatus()Status of the server-side encryption update.StringupdateStatusAsString()Status of the server-side encryption update.-
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
-
message
public final String message()
Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the cause of the failure.
- Returns:
- Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the cause of the failure.
-
oldKmsKeyId
public final String oldKmsKeyId()
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a new KMS key ID.
- Returns:
- The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a new KMS key ID.
-
updateStatus
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,
updateStatuswill returnServerSideEncryptionUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateStatusAsString().- Returns:
- 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.
- See Also:
ServerSideEncryptionUpdateStatus
-
updateStatusAsString
public 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,
updateStatuswill returnServerSideEncryptionUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateStatusAsString().- Returns:
- 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.
- See Also:
ServerSideEncryptionUpdateStatus
-
toBuilder
public ServerSideEncryptionUpdateDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerSideEncryptionUpdateDetails.Builder,ServerSideEncryptionUpdateDetails>
-
builder
public static ServerSideEncryptionUpdateDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServerSideEncryptionUpdateDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-