@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerSideEncryptionUpdateDetails extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ServerSideEncryptionUpdateDetails() |
Modifier and Type | Method and Description |
---|---|
ServerSideEncryptionUpdateDetails |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
Message explaining the current UpdateStatus.
|
String |
getOldKmsKeyId()
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a
new KMS key ID.
|
String |
getUpdateStatus()
Status of the server-side encryption update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
Message explaining the current UpdateStatus.
|
void |
setOldKmsKeyId(String oldKmsKeyId)
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a
new KMS key ID.
|
void |
setUpdateStatus(String updateStatus)
Status of the server-side encryption update.
|
String |
toString()
Returns a string representation of this object.
|
ServerSideEncryptionUpdateDetails |
withMessage(String message)
Message explaining the current UpdateStatus.
|
ServerSideEncryptionUpdateDetails |
withOldKmsKeyId(String oldKmsKeyId)
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a
new KMS key ID.
|
ServerSideEncryptionUpdateDetails |
withUpdateStatus(ServerSideEncryptionUpdateStatus updateStatus)
Status of the server-side encryption update.
|
ServerSideEncryptionUpdateDetails |
withUpdateStatus(String updateStatus)
Status of the server-side encryption update.
|
public void setMessage(String message)
Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the cause of the failure.
message
- Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the
cause of the failure.public String getMessage()
Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the cause of the failure.
public ServerSideEncryptionUpdateDetails withMessage(String message)
Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the cause of the failure.
message
- Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the
cause of the failure.public void setOldKmsKeyId(String oldKmsKeyId)
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a new KMS key ID.
oldKmsKeyId
- The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was
updated to a new KMS key ID.public String getOldKmsKeyId()
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a new KMS key ID.
public ServerSideEncryptionUpdateDetails withOldKmsKeyId(String oldKmsKeyId)
The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a new KMS key ID.
oldKmsKeyId
- The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was
updated to a new KMS key ID.public void setUpdateStatus(String 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.
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.ServerSideEncryptionUpdateStatus
public String getUpdateStatus()
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.
ServerSideEncryptionUpdateStatus
public ServerSideEncryptionUpdateDetails withUpdateStatus(String 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.
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.ServerSideEncryptionUpdateStatus
public ServerSideEncryptionUpdateDetails withUpdateStatus(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.
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.ServerSideEncryptionUpdateStatus
public String toString()
toString
in class Object
Object.toString()
public ServerSideEncryptionUpdateDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.