Class DeregistrationPolicy

    • Method Detail

      • deleteResources

        public 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().

        Returns:
        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.

        See Also:
        DeleteResources
      • deleteResourcesAsString

        public 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().

        Returns:
        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.

        See Also:
        DeleteResources
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)