Class DatabaseAccountConnectionString

java.lang.Object
com.azure.resourcemanager.cosmos.models.DatabaseAccountConnectionString

public final class DatabaseAccountConnectionString extends Object
Connection string for the Cosmos DB account.
  • Constructor Details

    • DatabaseAccountConnectionString

      public DatabaseAccountConnectionString()
      Creates an instance of DatabaseAccountConnectionString class.
  • Method Details

    • connectionString

      public String connectionString()
      Get the connectionString property: Value of the connection string.
      Returns:
      the connectionString value.
    • description

      public String description()
      Get the description property: Description of the connection string.
      Returns:
      the description value.
    • keyKind

      public Kind keyKind()
      Get the keyKind property: Kind of the connection string key.
      Returns:
      the keyKind value.
    • type

      public Type type()
      Get the type property: Type of the connection string.
      Returns:
      the type value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.