ConnStringInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ConnStringInfo

public final class ConnStringInfo

Database connection string information.

Constructor Summary

Constructor Description
ConnStringInfo()

Creates an instance of ConnStringInfo class.

Method Summary

Modifier and Type Method and Description
String connectionString()

Get the connectionString property: Connection string value.

String name()

Get the name property: Name of connection string.

ConnectionStringType type()

Get the type property: Type of database.

void validate()

Validates the instance.

ConnStringInfo withConnectionString(String connectionString)

Set the connectionString property: Connection string value.

ConnStringInfo withName(String name)

Set the name property: Name of connection string.

ConnStringInfo 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:

the connectionString value.

name

public String name()

Get the name property: Name of connection string.

Returns:

the name value.

type

public ConnectionStringType type()

Get the type property: Type of database.

Returns:

the type value.

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to