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