Enum ConnectionStringType
- java.lang.Object
-
- java.lang.Enum<ConnectionStringType>
-
- com.azure.resourcemanager.appservice.models.ConnectionStringType
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectionStringType>
public enum ConnectionStringType extends Enum<ConnectionStringType>
Defines values for ConnectionStringType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description API_HUBEnum value ApiHub.CUSTOMEnum value Custom.DOC_DBEnum value DocDb.EVENT_HUBEnum value EventHub.MY_SQLEnum value MySql.NOTIFICATION_HUBEnum value NotificationHub.POSTGRE_SQLEnum value PostgreSQL.REDIS_CACHEEnum value RedisCache.SERVICE_BUSEnum value ServiceBus.SQLAZUREEnum value SQLAzure.SQLSERVEREnum value SQLServer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionStringTypefromString(String value)Parses a serialized value to a ConnectionStringType instance.StringtoString()static ConnectionStringTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectionStringType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MY_SQL
public static final ConnectionStringType MY_SQL
Enum value MySql.
-
SQLSERVER
public static final ConnectionStringType SQLSERVER
Enum value SQLServer.
-
SQLAZURE
public static final ConnectionStringType SQLAZURE
Enum value SQLAzure.
-
CUSTOM
public static final ConnectionStringType CUSTOM
Enum value Custom.
-
NOTIFICATION_HUB
public static final ConnectionStringType NOTIFICATION_HUB
Enum value NotificationHub.
-
SERVICE_BUS
public static final ConnectionStringType SERVICE_BUS
Enum value ServiceBus.
-
EVENT_HUB
public static final ConnectionStringType EVENT_HUB
Enum value EventHub.
-
API_HUB
public static final ConnectionStringType API_HUB
Enum value ApiHub.
-
DOC_DB
public static final ConnectionStringType DOC_DB
Enum value DocDb.
-
REDIS_CACHE
public static final ConnectionStringType REDIS_CACHE
Enum value RedisCache.
-
POSTGRE_SQL
public static final ConnectionStringType POSTGRE_SQL
Enum value PostgreSQL.
-
-
Method Detail
-
values
public static ConnectionStringType[] 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 (ConnectionStringType c : ConnectionStringType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionStringType 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
-
fromString
public static ConnectionStringType fromString(String value)
Parses a serialized value to a ConnectionStringType instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed ConnectionStringType object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<ConnectionStringType>
-
-