@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum VersionControl extends Enum<VersionControl>
| Enum Constant and Description |
|---|
AZURE_DEVOPS_GIT |
GITHUB |
GITHUB_ENTERPRISE |
| Modifier and Type | Method and Description |
|---|---|
static VersionControl |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static VersionControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionControl GITHUB
public static final VersionControl GITHUB_ENTERPRISE
public static final VersionControl AZURE_DEVOPS_GIT
public static VersionControl[] values()
for (VersionControl c : VersionControl.values()) System.out.println(c);
public static VersionControl 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<VersionControl>public static VersionControl fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.