Authentication Class
- java.
lang. Object - com.
azure. resourcemanager. databoxedge. models. Authentication
- com.
Implements
public final class Authentication
implements JsonSerializable<Authentication>
Authentication mechanism for IoT devices.
Constructor Summary
| Constructor | Description |
|---|---|
| Authentication() |
Creates an instance of Authentication class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Authentication |
fromJson(JsonReader jsonReader)
Reads an instance of Authentication from the Json |
|
Symmetric |
symmetricKey()
Get the symmetric |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Authentication |
withSymmetricKey(SymmetricKey symmetricKey)
Set the symmetric |
Methods inherited from java.lang.Object
Constructor Details
Authentication
public Authentication()
Creates an instance of Authentication class.
Method Details
fromJson
public static Authentication fromJson(JsonReader jsonReader)
Reads an instance of Authentication from the JsonReader.
Parameters:
Returns:
Throws:
symmetricKey
public SymmetricKey symmetricKey()
Get the symmetricKey property: Symmetric key for authentication.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSymmetricKey
public Authentication withSymmetricKey(SymmetricKey symmetricKey)
Set the symmetricKey property: Symmetric key for authentication.
Parameters:
Returns: