@Generated(value="software.amazon.awssdk:codegen") public final class DeregistrationPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeregistrationPolicy.Builder,DeregistrationPolicy>
The deregistration policy for the data that's stored in Audit Manager. You can use this attribute to determine how your data is handled when you deregister Audit Manager.
By default, Audit Manager retains evidence data for two years from the time of its creation. Other Audit Manager resources (including assessments, custom controls, and custom frameworks) remain in Audit Manager indefinitely, and are available if you re-register Audit Manager in the future. For more information about data retention, see Data Protection in the Audit Manager User Guide.
If you choose to delete all data, this action permanently deletes all evidence data in your account within seven days. It also deletes all of the Audit Manager resources that you created, including assessments, custom controls, and custom frameworks. Your data will not be available if you re-register Audit Manager in the future.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeregistrationPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeregistrationPolicy.Builder |
builder() |
DeleteResources |
deleteResources()
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
|
String |
deleteResourcesAsString()
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeregistrationPolicy.Builder> |
serializableBuilderClass() |
DeregistrationPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DeleteResources deleteResources()
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
If you set the value to ALL, all of your data is deleted within seven days of deregistration.
If you set the value to DEFAULT, none of your data is deleted at the time of deregistration.
However, keep in mind that the Audit Manager data retention policy still applies. As a result, any evidence data
will be deleted two years after its creation date. Your other Audit Manager resources will continue to exist
indefinitely.
If the service returns an enum value that is not available in the current SDK version, deleteResources
will return DeleteResources.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deleteResourcesAsString().
If you set the value to ALL, all of your data is deleted within seven days of
deregistration.
If you set the value to DEFAULT, none of your data is deleted at the time of deregistration.
However, keep in mind that the Audit Manager data retention policy still applies. As a result, any
evidence data will be deleted two years after its creation date. Your other Audit Manager resources will
continue to exist indefinitely.
DeleteResourcespublic final String deleteResourcesAsString()
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
If you set the value to ALL, all of your data is deleted within seven days of deregistration.
If you set the value to DEFAULT, none of your data is deleted at the time of deregistration.
However, keep in mind that the Audit Manager data retention policy still applies. As a result, any evidence data
will be deleted two years after its creation date. Your other Audit Manager resources will continue to exist
indefinitely.
If the service returns an enum value that is not available in the current SDK version, deleteResources
will return DeleteResources.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deleteResourcesAsString().
If you set the value to ALL, all of your data is deleted within seven days of
deregistration.
If you set the value to DEFAULT, none of your data is deleted at the time of deregistration.
However, keep in mind that the Audit Manager data retention policy still applies. As a result, any
evidence data will be deleted two years after its creation date. Your other Audit Manager resources will
continue to exist indefinitely.
DeleteResourcespublic DeregistrationPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeregistrationPolicy.Builder,DeregistrationPolicy>public static DeregistrationPolicy.Builder builder()
public static Class<? extends DeregistrationPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.