Class SiteMachineKey
java.lang.Object
com.azure.resourcemanager.appservice.models.SiteMachineKey
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SiteMachineKey>
public final class SiteMachineKey
extends Object
implements com.azure.json.JsonSerializable<SiteMachineKey>
MachineKey of an app.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the decryption property: Algorithm used for decryption.Get the decryptionKey property: Decryption key.static SiteMachineKeyfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SiteMachineKey from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the validation property: MachineKey validation.Get the validationKey property: Validation key.withDecryption(String decryption) Set the decryption property: Algorithm used for decryption.withDecryptionKey(String decryptionKey) Set the decryptionKey property: Decryption key.withValidation(String validation) Set the validation property: MachineKey validation.withValidationKey(String validationKey) Set the validationKey property: Validation key.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SiteMachineKey
public SiteMachineKey()Creates an instance of SiteMachineKey class.
-
-
Method Details
-
validation
Get the validation property: MachineKey validation.- Returns:
- the validation value.
-
withValidation
Set the validation property: MachineKey validation.- Parameters:
validation- the validation value to set.- Returns:
- the SiteMachineKey object itself.
-
validationKey
Get the validationKey property: Validation key.- Returns:
- the validationKey value.
-
withValidationKey
Set the validationKey property: Validation key.- Parameters:
validationKey- the validationKey value to set.- Returns:
- the SiteMachineKey object itself.
-
decryption
Get the decryption property: Algorithm used for decryption.- Returns:
- the decryption value.
-
withDecryption
Set the decryption property: Algorithm used for decryption.- Parameters:
decryption- the decryption value to set.- Returns:
- the SiteMachineKey object itself.
-
decryptionKey
Get the decryptionKey property: Decryption key.- Returns:
- the decryptionKey value.
-
withDecryptionKey
Set the decryptionKey property: Decryption key.- Parameters:
decryptionKey- the decryptionKey value to set.- Returns:
- the SiteMachineKey object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SiteMachineKey>- Throws:
IOException
-
fromJson
Reads an instance of SiteMachineKey from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SiteMachineKey if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SiteMachineKey.
-