Class ReissueCertificateOrderRequest

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.ReissueCertificateOrderRequest

public final class ReissueCertificateOrderRequest extends ProxyOnlyResource
Class representing certificate reissue request.
  • Constructor Details

    • ReissueCertificateOrderRequest

      public ReissueCertificateOrderRequest()
  • Method Details

    • withKind

      public ReissueCertificateOrderRequest withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • keySize

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

      public ReissueCertificateOrderRequest withKeySize(Integer keySize)
      Set the keySize property: Certificate Key Size.
      Parameters:
      keySize - the keySize value to set.
      Returns:
      the ReissueCertificateOrderRequest 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 ReissueCertificateOrderRequest 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 ReissueCertificateOrderRequest object itself.
    • csr

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

      public ReissueCertificateOrderRequest withCsr(String csr)
      Set the csr property: Csr to be used for re-key operation.
      Parameters:
      csr - the csr value to set.
      Returns:
      the ReissueCertificateOrderRequest 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 ReissueCertificateOrderRequest 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 ReissueCertificateOrderRequest object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ProxyOnlyResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.