Enum Ec2MetadataConfigProvider.EndpointMode
- java.lang.Object
-
- java.lang.Enum<Ec2MetadataConfigProvider.EndpointMode>
-
- software.amazon.awssdk.auth.credentials.internal.Ec2MetadataConfigProvider.EndpointMode
-
- All Implemented Interfaces:
Serializable
,Comparable<Ec2MetadataConfigProvider.EndpointMode>
- Enclosing class:
- Ec2MetadataConfigProvider
public static enum Ec2MetadataConfigProvider.EndpointMode extends Enum<Ec2MetadataConfigProvider.EndpointMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ec2MetadataConfigProvider.EndpointMode
fromValue(String s)
static Ec2MetadataConfigProvider.EndpointMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Ec2MetadataConfigProvider.EndpointMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IPV4
public static final Ec2MetadataConfigProvider.EndpointMode IPV4
-
IPV6
public static final Ec2MetadataConfigProvider.EndpointMode IPV6
-
-
Method Detail
-
values
public static Ec2MetadataConfigProvider.EndpointMode[] 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 (Ec2MetadataConfigProvider.EndpointMode c : Ec2MetadataConfigProvider.EndpointMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ec2MetadataConfigProvider.EndpointMode 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
-
fromValue
public static Ec2MetadataConfigProvider.EndpointMode fromValue(String s)
-
-