Class Authentication
java.lang.Object
com.azure.resourcemanager.databoxedge.models.Authentication
Authentication mechanism for IoT devices.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the symmetricKey property: Symmetric key for authentication.void
validate()
Validates the instance.withSymmetricKey
(SymmetricKey symmetricKey) Set the symmetricKey property: Symmetric key for authentication.
-
Constructor Details
-
Authentication
public Authentication()Creates an instance of Authentication class.
-
-
Method Details
-
symmetricKey
Get the symmetricKey property: Symmetric key for authentication.- Returns:
- the symmetricKey value.
-
withSymmetricKey
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.
-