Class ConnStringInfo

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

public final class ConnStringInfo extends Object
Database connection string information.
  • Constructor Details

    • ConnStringInfo

      public ConnStringInfo()
  • Method Details

    • 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.