Class SymmetricKey

java.lang.Object
com.azure.resourcemanager.databoxedge.models.SymmetricKey

public final class SymmetricKey extends Object
Symmetric key for authentication.
  • Constructor Details

    • SymmetricKey

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

    • connectionString

      public AsymmetricEncryptedSecret connectionString()
      Get the connectionString property: Connection string based on the symmetric key.
      Returns:
      the connectionString value.
    • withConnectionString

      public SymmetricKey withConnectionString(AsymmetricEncryptedSecret connectionString)
      Set the connectionString property: Connection string based on the symmetric key.
      Parameters:
      connectionString - the connectionString value to set.
      Returns:
      the SymmetricKey object itself.
    • validate

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