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 Summary
ConstructorsConstructorDescriptionCreates an instance of ReissueCertificateOrderRequestProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncsr()
Get the csr property: Csr to be used for re-key operation.Get the delayExistingRevokeInHours property: Delay in hours to revoke existing certificate after the new certificate is issued.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ReissueCertificateOrderRequestProperties from the JsonReader.Get the isPrivateKeyExternal property: Should we change the ASC type (from managed private key to external private key and vice versa).keySize()
Get the keySize property: Certificate Key Size.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Set the csr property: Csr to be used for re-key operation.withDelayExistingRevokeInHours
(Integer delayExistingRevokeInHours) Set the delayExistingRevokeInHours property: Delay in hours to revoke existing certificate after the new certificate is issued.withIsPrivateKeyExternal
(Boolean isPrivateKeyExternal) Set the isPrivateKeyExternal property: Should we change the ASC type (from managed private key to external private key and vice versa).withKeySize
(Integer keySize) Set the keySize property: Certificate Key Size.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ReissueCertificateOrderRequestProperties
public ReissueCertificateOrderRequestProperties()Creates an instance of ReissueCertificateOrderRequestProperties class.
-
-
Method Details
-
keySize
Get the keySize property: Certificate Key Size.- Returns:
- the keySize value.
-
withKeySize
Set the keySize property: Certificate Key Size.- Parameters:
keySize
- the keySize value to set.- Returns:
- the ReissueCertificateOrderRequestProperties object itself.
-
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
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
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
- Specified by:
toJson
in interfacecom.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.
-