Class VerificationCodeRequest
- java.lang.Object
-
- com.azure.resourcemanager.deviceprovisioningservices.models.VerificationCodeRequest
-
public final class VerificationCodeRequest extends Object
The JSON-serialized leaf certificate.
-
-
Constructor Summary
Constructors Constructor Description VerificationCodeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
certificate()
Get the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.void
validate()
Validates the instance.VerificationCodeRequest
withCertificate(String certificate)
Set the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.
-
-
-
Method Detail
-
certificate
public String certificate()
Get the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.- Returns:
- the certificate value.
-
withCertificate
public VerificationCodeRequest withCertificate(String certificate)
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.
-
-