com.atlassian.aws.ec2.awssdk
Enum AwsSupportConstants.RootDeviceType
java.lang.Object
java.lang.Enum<AwsSupportConstants.RootDeviceType>
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType
- All Implemented Interfaces:
- AwsSupportConstants.NameProvider, Serializable, Comparable<AwsSupportConstants.RootDeviceType>
- Enclosing class:
- AwsSupportConstants
public static enum AwsSupportConstants.RootDeviceType
- extends Enum<AwsSupportConstants.RootDeviceType>
- implements AwsSupportConstants.NameProvider
NOTE: These enums are persisted to the database. Do not remove or rename them
|
Enum Constant Summary |
EBS
|
S3
|
S3
public static final AwsSupportConstants.RootDeviceType S3
EBS
public static final AwsSupportConstants.RootDeviceType EBS
values
public static AwsSupportConstants.RootDeviceType[] 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 (AwsSupportConstants.RootDeviceType c : AwsSupportConstants.RootDeviceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AwsSupportConstants.RootDeviceType 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 name
NullPointerException - if the argument is null
getName
@NotNull
public String getName()
- Specified by:
getName in interface AwsSupportConstants.NameProvider
fromAwsName
@NotNull
public static AwsSupportConstants.RootDeviceType fromAwsName(@NotNull
String awsName)
Copyright © 2015 Atlassian. All rights reserved.