Class ReissueCertificateOrderRequestProperties

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

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

    • ReissueCertificateOrderRequestProperties

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

    • keySize

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

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

      public Integer delayExistingRevokeInHours()
      Get the delayExistingRevokeInHours property: Delay in hours to revoke existing certificate after the new certificate is issued.
      Returns:
      the delayExistingRevokeInHours value.
    • withDelayExistingRevokeInHours

      public ReissueCertificateOrderRequestProperties withDelayExistingRevokeInHours(Integer delayExistingRevokeInHours)
      Set the delayExistingRevokeInHours property: Delay in hours to revoke existing certificate after the new certificate is issued.
      Parameters:
      delayExistingRevokeInHours - the delayExistingRevokeInHours value to set.
      Returns:
      the ReissueCertificateOrderRequestProperties 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 ReissueCertificateOrderRequestProperties 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 ReissueCertificateOrderRequestProperties 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 ReissueCertificateOrderRequestProperties 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<ReissueCertificateOrderRequestProperties>
      Throws:
      IOException
    • fromJson

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