ConnStringInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ConnStringInfo
- com.
public final class 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 |
String |
name()
Get the name property: Name of connection string. |
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:
name
public String name()
Get the name property: Name of connection string.
Returns:
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for