@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeregistrationPolicy extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
DeregistrationPolicy() |
Modifier and Type | Method and Description |
---|---|
DeregistrationPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getDeleteResources()
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeleteResources(String deleteResources)
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
|
String |
toString()
Returns a string representation of this object.
|
DeregistrationPolicy |
withDeleteResources(DeleteResources deleteResources)
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
|
DeregistrationPolicy |
withDeleteResources(String deleteResources)
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
|
public void setDeleteResources(String 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.
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.
DeleteResources
public String getDeleteResources()
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 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.
DeleteResources
public DeregistrationPolicy withDeleteResources(String 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.
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.
DeleteResources
public DeregistrationPolicy withDeleteResources(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.
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.
DeleteResources
public String toString()
toString
in class Object
Object.toString()
public DeregistrationPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.