Class RenewCertificateOrderRequestProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.RenewCertificateOrderRequestProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<RenewCertificateOrderRequestProperties>

public final class RenewCertificateOrderRequestProperties extends Object implements com.azure.json.JsonSerializable<RenewCertificateOrderRequestProperties>
RenewCertificateOrderRequest resource specific properties.
  • Constructor Details

    • RenewCertificateOrderRequestProperties

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

    • keySize

      public Integer keySize()
      Get the keySize property: Certificate Key Size.
      Returns:
      the keySize value.
    • withKeySize

      public RenewCertificateOrderRequestProperties withKeySize(Integer keySize)
      Set the keySize property: Certificate Key Size.
      Parameters:
      keySize - the keySize value to set.
      Returns:
      the RenewCertificateOrderRequestProperties object itself.
    • csr

      public String csr()
      Get the csr property: Csr to be used for re-key operation.
      Returns:
      the csr value.
    • withCsr

      Set the csr property: Csr to be used for re-key operation.
      Parameters:
      csr - the csr value to set.
      Returns:
      the RenewCertificateOrderRequestProperties object itself.
    • isPrivateKeyExternal

      public Boolean isPrivateKeyExternal()
      Get the isPrivateKeyExternal property: Should we change the ASC type (from managed private key to external private key and vice versa).
      Returns:
      the isPrivateKeyExternal value.
    • withIsPrivateKeyExternal

      public RenewCertificateOrderRequestProperties withIsPrivateKeyExternal(Boolean isPrivateKeyExternal)
      Set the isPrivateKeyExternal property: Should we change the ASC type (from managed private key to external private key and vice versa).
      Parameters:
      isPrivateKeyExternal - the isPrivateKeyExternal value to set.
      Returns:
      the RenewCertificateOrderRequestProperties 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<RenewCertificateOrderRequestProperties>
      Throws:
      IOException
    • fromJson

      public static RenewCertificateOrderRequestProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RenewCertificateOrderRequestProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RenewCertificateOrderRequestProperties 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 RenewCertificateOrderRequestProperties.