Class ConnStringValueTypePair
java.lang.Object
com.azure.resourcemanager.appservice.models.ConnStringValueTypePair
Database connection string value to type pair.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontype()
Get the type property: Type of database.void
validate()
Validates the instance.value()
Get the value property: Value of pair.withType
(ConnectionStringType type) Set the type property: Type of database.Set the value property: Value of pair.
-
Constructor Details
-
ConnStringValueTypePair
public ConnStringValueTypePair()
-
-
Method Details
-
value
Get the value property: Value of pair.- Returns:
- the value value.
-
withValue
Set the value property: Value of pair.- Parameters:
value
- the value value to set.- Returns:
- the ConnStringValueTypePair object itself.
-
type
Get the type property: Type of database.- Returns:
- the type value.
-
withType
Set the type property: Type of database.- Parameters:
type
- the type value to set.- Returns:
- the ConnStringValueTypePair object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-