Class ConnStringValueTypePair
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.ConnStringValueTypePair
-
public final class ConnStringValueTypePair extends Object
Database connection string value to type pair.
-
-
Constructor Summary
Constructors Constructor Description ConnStringValueTypePair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionStringTypetype()Get the type property: Type of database.voidvalidate()Validates the instance.Stringvalue()Get the value property: Value of pair.ConnStringValueTypePairwithType(ConnectionStringType type)Set the type property: Type of database.ConnStringValueTypePairwithValue(String value)Set the value property: Value of pair.
-
-
-
Method Detail
-
value
public String value()
Get the value property: Value of pair.- Returns:
- the value value.
-
withValue
public ConnStringValueTypePair withValue(String value)
Set the value property: Value of pair.- Parameters:
value- the value value to set.- Returns:
- the ConnStringValueTypePair object itself.
-
type
public ConnectionStringType type()
Get the type property: Type of database.- Returns:
- the type value.
-
withType
public ConnStringValueTypePair withType(ConnectionStringType type)
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.
-
-