/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.auditmanager.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* 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. *

*
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DeregistrationPolicy implements Serializable, Cloneable, StructuredPojo { /** *

* Specifies which Audit Manager data will be deleted when you deregister Audit Manager. *

* */ private String deleteResources; /** *

* Specifies which Audit Manager data will be deleted when you deregister Audit Manager. *

* * * @param deleteResources * Specifies which Audit Manager data will be deleted when you deregister Audit Manager.

*