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 Summary
ConstructorsConstructorDescriptionCreates an instance of RenewCertificateOrderRequestProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncsr()Get the csr property: Csr to be used for re-key operation.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RenewCertificateOrderRequestProperties 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.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the csr property: Csr to be used for re-key operation.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, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RenewCertificateOrderRequestProperties
public RenewCertificateOrderRequestProperties()Creates an instance of RenewCertificateOrderRequestProperties 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 RenewCertificateOrderRequestProperties 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 RenewCertificateOrderRequestProperties 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 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
- Specified by:
toJsonin interfacecom.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.
-