@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum SourceRevisionType extends Enum<SourceRevisionType>
Enum Constant and Description |
---|
COMMIT_ID |
IMAGE_DIGEST |
S3_OBJECT_VERSION_ID |
Modifier and Type | Method and Description |
---|---|
static SourceRevisionType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static SourceRevisionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceRevisionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceRevisionType COMMIT_ID
public static final SourceRevisionType IMAGE_DIGEST
public static final SourceRevisionType S3_OBJECT_VERSION_ID
public static SourceRevisionType[] values()
for (SourceRevisionType c : SourceRevisionType.values()) System.out.println(c);
public static SourceRevisionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<SourceRevisionType>
public static SourceRevisionType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.