Enum AccessDeniedErrorCode
- java.lang.Object
-
- java.lang.Enum<AccessDeniedErrorCode>
-
- com.amazonaws.services.inspector.model.AccessDeniedErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<AccessDeniedErrorCode>
public enum AccessDeniedErrorCode extends Enum<AccessDeniedErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessDeniedErrorCode
fromValue(String value)
Use this in place of valueOf.String
toString()
static AccessDeniedErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AccessDeniedErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCESS_DENIED_TO_ASSESSMENT_TARGET
public static final AccessDeniedErrorCode ACCESS_DENIED_TO_ASSESSMENT_TARGET
-
ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE
public static final AccessDeniedErrorCode ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE
-
ACCESS_DENIED_TO_ASSESSMENT_RUN
public static final AccessDeniedErrorCode ACCESS_DENIED_TO_ASSESSMENT_RUN
-
ACCESS_DENIED_TO_FINDING
public static final AccessDeniedErrorCode ACCESS_DENIED_TO_FINDING
-
ACCESS_DENIED_TO_RESOURCE_GROUP
public static final AccessDeniedErrorCode ACCESS_DENIED_TO_RESOURCE_GROUP
-
ACCESS_DENIED_TO_RULES_PACKAGE
public static final AccessDeniedErrorCode ACCESS_DENIED_TO_RULES_PACKAGE
-
ACCESS_DENIED_TO_SNS_TOPIC
public static final AccessDeniedErrorCode ACCESS_DENIED_TO_SNS_TOPIC
-
ACCESS_DENIED_TO_IAM_ROLE
public static final AccessDeniedErrorCode ACCESS_DENIED_TO_IAM_ROLE
-
-
Method Detail
-
values
public static AccessDeniedErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccessDeniedErrorCode c : AccessDeniedErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessDeniedErrorCode 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<AccessDeniedErrorCode>
-
fromValue
public static AccessDeniedErrorCode fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- AccessDeniedErrorCode corresponding to the value
-
-