Enum ReasonCode
- All Implemented Interfaces:
Serializable,Comparable<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 Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ReasonCodeUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ReasonCode> toString()static ReasonCodeReturns the enum constant of this type with the specified name.static ReasonCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACTIONED
-
NOT_RESOLVABLE_TO_AWS
-
REVIEWED_NO_AWS_ACTION
-
CONTENT_DOWN_OR_INACCESSIBLE
-
NEED_MORE_INFORMATION
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<ReasonCode>
-
fromValue
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
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownReasonCodes
-