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 Details

    • ConnStringValueTypePair

      public ConnStringValueTypePair()
  • Method Details

    • 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

      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.