ConnStringValueTypePair Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ConnStringValueTypePair
- com.
Implements
public final class ConnStringValueTypePair
implements JsonSerializable<ConnStringValueTypePair>
Database connection string value to type pair.
Constructor Summary
Constructor | Description |
---|---|
ConnStringValueTypePair() |
Creates an instance of Conn |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Conn |
fromJson(JsonReader jsonReader)
Reads an instance of Conn |
Json |
toJson(JsonWriter jsonWriter) |
Connection |
type()
Get the type property: Type of database. |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Value of pair. |
Conn |
withType(ConnectionStringType type)
Set the type property: Type of database. |
Conn |
withValue(String value)
Set the value property: Value of pair. |
Methods inherited from java.lang.Object
Constructor Details
ConnStringValueTypePair
public ConnStringValueTypePair()
Creates an instance of ConnStringValueTypePair class.
Method Details
fromJson
public static ConnStringValueTypePair fromJson(JsonReader jsonReader)
Reads an instance of ConnStringValueTypePair from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public ConnectionStringType type()
Get the type property: Type of database.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value of pair.
Returns:
withType
public ConnStringValueTypePair withType(ConnectionStringType type)
Set the type property: Type of database.
Parameters:
Returns:
withValue
public ConnStringValueTypePair withValue(String value)
Set the value property: Value of pair.
Parameters:
Returns:
Applies to
Azure SDK for Java