Enum ReasonCode

java.lang.Object
java.lang.Enum<ReasonCode>
software.amazon.awssdk.services.abusesignal.model.ReasonCode
All Implemented Interfaces:
Serializable, Comparable<ReasonCode>

@Generated("software.amazon.awssdk:codegen") public enum ReasonCode extends Enum<ReasonCode>

A code that explains the resolution outcome of an abuse report, surfaced to the reporter. This value is present only after a report reaches the terminal COMPLETED status; it is absent while the report is QUEUED or PROCESSING. The vocabulary is owned by the service and is append-only, so treat an unrecognized value as opaque rather than as an error.

The following values are defined:

  • ACTIONED – Enforcement action was taken on the reported resource.

  • NOT_RESOLVABLE_TO_AWS – The reported resource could not be attributed to Amazon Web Services.

  • REVIEWED_NO_AWS_ACTION – The report was reviewed and no Amazon Web Services action was warranted.

  • CONTENT_DOWN_OR_INACCESSIBLE – The reported content is already down or inaccessible, so no action was needed.

  • NEED_MORE_INFORMATION – The report did not contain enough information to act on.

  • Enum Constant Details

    • ACTIONED

      public static final ReasonCode ACTIONED
    • NOT_RESOLVABLE_TO_AWS

      public static final ReasonCode NOT_RESOLVABLE_TO_AWS
    • REVIEWED_NO_AWS_ACTION

      public static final ReasonCode REVIEWED_NO_AWS_ACTION
    • CONTENT_DOWN_OR_INACCESSIBLE

      public static final ReasonCode CONTENT_DOWN_OR_INACCESSIBLE
    • NEED_MORE_INFORMATION

      public static final ReasonCode NEED_MORE_INFORMATION
    • UNKNOWN_TO_SDK_VERSION

      public static final ReasonCode UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

      public static ReasonCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ReasonCode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ReasonCode>
    • fromValue

      public static ReasonCode fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      ReasonCode corresponding to the value
    • knownValues

      public static Set<ReasonCode> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known ReasonCodes