Class Authentication

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

public final class Authentication extends Object
Authentication mechanism for IoT devices.
  • Constructor Details

    • Authentication

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

    • symmetricKey

      public SymmetricKey symmetricKey()
      Get the symmetricKey property: Symmetric key for authentication.
      Returns:
      the symmetricKey value.
    • withSymmetricKey

      public Authentication withSymmetricKey(SymmetricKey symmetricKey)
      Set the symmetricKey property: Symmetric key for authentication.
      Parameters:
      symmetricKey - the symmetricKey value to set.
      Returns:
      the Authentication object itself.
    • validate

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