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 Details

    • SiteMachineKey

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

    • validation

      public String validation()
      Get the validation property: MachineKey validation.
      Returns:
      the validation value.
    • withValidation

      public SiteMachineKey withValidation(String validation)
      Set the validation property: MachineKey validation.
      Parameters:
      validation - the validation value to set.
      Returns:
      the SiteMachineKey object itself.
    • validationKey

      public String validationKey()
      Get the validationKey property: Validation key.
      Returns:
      the validationKey value.
    • withValidationKey

      public SiteMachineKey withValidationKey(String validationKey)
      Set the validationKey property: Validation key.
      Parameters:
      validationKey - the validationKey value to set.
      Returns:
      the SiteMachineKey object itself.
    • decryption

      public String decryption()
      Get the decryption property: Algorithm used for decryption.
      Returns:
      the decryption value.
    • withDecryption

      public SiteMachineKey withDecryption(String decryption)
      Set the decryption property: Algorithm used for decryption.
      Parameters:
      decryption - the decryption value to set.
      Returns:
      the SiteMachineKey object itself.
    • decryptionKey

      public String decryptionKey()
      Get the decryptionKey property: Decryption key.
      Returns:
      the decryptionKey value.
    • withDecryptionKey

      public SiteMachineKey withDecryptionKey(String decryptionKey)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SiteMachineKey>
      Throws:
      IOException
    • fromJson

      public static SiteMachineKey fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.