Class ConnStringInfo
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.ConnStringInfo
-
public final class ConnStringInfo extends Object
Database connection string information.
-
-
Constructor Summary
Constructors Constructor Description ConnStringInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconnectionString()Get the connectionString property: Connection string value.Stringname()Get the name property: Name of connection string.ConnectionStringTypetype()Get the type property: Type of database.voidvalidate()Validates the instance.ConnStringInfowithConnectionString(String connectionString)Set the connectionString property: Connection string value.ConnStringInfowithName(String name)Set the name property: Name of connection string.ConnStringInfowithType(ConnectionStringType type)Set the type property: Type of database.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of connection string.- Returns:
- the name value.
-
withName
public ConnStringInfo withName(String name)
Set the name property: Name of connection string.- Parameters:
name- the name value to set.- Returns:
- the ConnStringInfo object itself.
-
connectionString
public String connectionString()
Get the connectionString property: Connection string value.- Returns:
- the connectionString value.
-
withConnectionString
public ConnStringInfo withConnectionString(String connectionString)
Set the connectionString property: Connection string value.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the ConnStringInfo object itself.
-
type
public ConnectionStringType type()
Get the type property: Type of database.- Returns:
- the type value.
-
withType
public ConnStringInfo withType(ConnectionStringType type)
Set the type property: Type of database.- Parameters:
type- the type value to set.- Returns:
- the ConnStringInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-