Enum ResourceType
- java.lang.Object
-
- java.lang.Enum<ResourceType>
-
- com.amazonaws.services.config.model.ResourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceType>
public enum ResourceType extends Enum<ResourceType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceType
fromValue(String value)
Use this in place of valueOf.String
toString()
static ResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AWSEC2CustomerGateway
public static final ResourceType AWSEC2CustomerGateway
-
AWSEC2EIP
public static final ResourceType AWSEC2EIP
-
AWSEC2Host
public static final ResourceType AWSEC2Host
-
AWSEC2Instance
public static final ResourceType AWSEC2Instance
-
AWSEC2InternetGateway
public static final ResourceType AWSEC2InternetGateway
-
AWSEC2NetworkAcl
public static final ResourceType AWSEC2NetworkAcl
-
AWSEC2NetworkInterface
public static final ResourceType AWSEC2NetworkInterface
-
AWSEC2RouteTable
public static final ResourceType AWSEC2RouteTable
-
AWSEC2SecurityGroup
public static final ResourceType AWSEC2SecurityGroup
-
AWSEC2Subnet
public static final ResourceType AWSEC2Subnet
-
AWSCloudTrailTrail
public static final ResourceType AWSCloudTrailTrail
-
AWSEC2Volume
public static final ResourceType AWSEC2Volume
-
AWSEC2VPC
public static final ResourceType AWSEC2VPC
-
AWSEC2VPNConnection
public static final ResourceType AWSEC2VPNConnection
-
AWSEC2VPNGateway
public static final ResourceType AWSEC2VPNGateway
-
AWSIAMGroup
public static final ResourceType AWSIAMGroup
-
AWSIAMPolicy
public static final ResourceType AWSIAMPolicy
-
AWSIAMRole
public static final ResourceType AWSIAMRole
-
AWSIAMUser
public static final ResourceType AWSIAMUser
-
-
Method Detail
-
values
public static ResourceType[] 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 (ResourceType c : ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceType 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<ResourceType>
-
fromValue
public static ResourceType fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- ResourceType corresponding to the value
-
-