Enum ConfigurationSourceProvider.ConfigSourceProviderType
- java.lang.Object
-
- java.lang.Enum<ConfigurationSourceProvider.ConfigSourceProviderType>
-
- com.oracle.bmc.resourcemanager.model.ConfigurationSourceProvider.ConfigSourceProviderType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ConfigurationSourceProvider.ConfigSourceProviderType>
- Enclosing class:
- ConfigurationSourceProvider
public static enum ConfigurationSourceProvider.ConfigSourceProviderType extends Enum<ConfigurationSourceProvider.ConfigSourceProviderType> implements BmcEnum
The type of configuration source provider.The BITBUCKET_CLOUD_USERNAME_APPPASSWORD type corresponds to Bitbucket Cloud. The BITBUCKET_SERVER_ACCESS_TOKEN type corresponds to Bitbucket Server. The GITLAB_ACCESS_TOKEN type corresponds to GitLab. The GITHUB_ACCESS_TOKEN type corresponds to GitHub.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BitbucketCloudUsernameApppassword
BitbucketServerAccessToken
GithubAccessToken
GitlabAccessToken
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationSourceProvider.ConfigSourceProviderType
create(String key)
String
getValue()
static ConfigurationSourceProvider.ConfigSourceProviderType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigurationSourceProvider.ConfigSourceProviderType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BitbucketCloudUsernameApppassword
public static final ConfigurationSourceProvider.ConfigSourceProviderType BitbucketCloudUsernameApppassword
-
BitbucketServerAccessToken
public static final ConfigurationSourceProvider.ConfigSourceProviderType BitbucketServerAccessToken
-
GitlabAccessToken
public static final ConfigurationSourceProvider.ConfigSourceProviderType GitlabAccessToken
-
GithubAccessToken
public static final ConfigurationSourceProvider.ConfigSourceProviderType GithubAccessToken
-
UnknownEnumValue
public static final ConfigurationSourceProvider.ConfigSourceProviderType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static ConfigurationSourceProvider.ConfigSourceProviderType[] 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 (ConfigurationSourceProvider.ConfigSourceProviderType c : ConfigurationSourceProvider.ConfigSourceProviderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationSourceProvider.ConfigSourceProviderType 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 nameNullPointerException
- if the argument is null
-
create
public static ConfigurationSourceProvider.ConfigSourceProviderType create(String key)
-
-