Package com.amazonaws.services.ec2.model
Enum FlowLogsResourceType
- java.lang.Object
-
- java.lang.Enum<FlowLogsResourceType>
-
- com.amazonaws.services.ec2.model.FlowLogsResourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<FlowLogsResourceType>
public enum FlowLogsResourceType extends Enum<FlowLogsResourceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NetworkInterface
Subnet
VPC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowLogsResourceType
fromValue(String value)
Use this in place of valueOf.String
toString()
static FlowLogsResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlowLogsResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VPC
public static final FlowLogsResourceType VPC
-
Subnet
public static final FlowLogsResourceType Subnet
-
NetworkInterface
public static final FlowLogsResourceType NetworkInterface
-
-
Method Detail
-
values
public static FlowLogsResourceType[] 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 (FlowLogsResourceType c : FlowLogsResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlowLogsResourceType 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<FlowLogsResourceType>
-
fromValue
public static FlowLogsResourceType fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- FlowLogsResourceType corresponding to the value
-
-