com.atlassian.aws.ec2.awssdk
Enum AwsSupportConstants.Platform
java.lang.Object
java.lang.Enum<AwsSupportConstants.Platform>
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform
- All Implemented Interfaces:
- AwsSupportConstants.NameProvider, Serializable, Comparable<AwsSupportConstants.Platform>
- Enclosing class:
- AwsSupportConstants
public static enum AwsSupportConstants.Platform
- extends Enum<AwsSupportConstants.Platform>
- implements AwsSupportConstants.NameProvider
NOTE: These enums are persisted to the database. Do not remove or rename them
linux
public static final AwsSupportConstants.Platform linux
windows
public static final AwsSupportConstants.Platform windows
values
public static AwsSupportConstants.Platform[] 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.Platform c : AwsSupportConstants.Platform.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.Platform 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
isWindows
public boolean isWindows()
fromAwsName
@NotNull
public static AwsSupportConstants.Platform fromAwsName(@NotNull
String awsName)
Copyright © 2015 Atlassian. All rights reserved.