Class VerificationCodeRequest
java.lang.Object
com.azure.resourcemanager.deviceprovisioningservices.models.VerificationCodeRequest
The JSON-serialized leaf certificate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.void
validate()
Validates the instance.withCertificate
(String certificate) Set the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.
-
Constructor Details
-
VerificationCodeRequest
public VerificationCodeRequest()
-
-
Method Details
-
certificate
Get the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.- Returns:
- the certificate value.
-
withCertificate
Set the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.- Parameters:
certificate
- the certificate value to set.- Returns:
- the VerificationCodeRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-