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