Class VerificationCodeResponseProperties
java.lang.Object
com.azure.resourcemanager.deviceprovisioningservices.models.VerificationCodeResponseProperties
The VerificationCodeResponseProperties model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Get the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.created()
Get the created property: Certificate created time.expiry()
Get the expiry property: Code expiry.Get the isVerified property: Indicate if the certificate is verified by owner of private key.subject()
Get the subject property: Certificate subject.Get the thumbprint property: Certificate thumbprint.updated()
Get the updated property: Certificate updated time.void
validate()
Validates the instance.Get the verificationCode property: Verification code.withCertificate
(byte[] certificate) Set the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.withCreated
(String created) Set the created property: Certificate created time.withExpiry
(String expiry) Set the expiry property: Code expiry.withIsVerified
(Boolean isVerified) Set the isVerified property: Indicate if the certificate is verified by owner of private key.withSubject
(String subject) Set the subject property: Certificate subject.withThumbprint
(String thumbprint) Set the thumbprint property: Certificate thumbprint.withUpdated
(String updated) Set the updated property: Certificate updated time.withVerificationCode
(String verificationCode) Set the verificationCode property: Verification code.
-
Constructor Details
-
VerificationCodeResponseProperties
public VerificationCodeResponseProperties()
-
-
Method Details
-
verificationCode
Get the verificationCode property: Verification code.- Returns:
- the verificationCode value.
-
withVerificationCode
Set the verificationCode property: Verification code.- Parameters:
verificationCode
- the verificationCode value to set.- Returns:
- the VerificationCodeResponseProperties object itself.
-
subject
Get the subject property: Certificate subject.- Returns:
- the subject value.
-
withSubject
Set the subject property: Certificate subject.- Parameters:
subject
- the subject value to set.- Returns:
- the VerificationCodeResponseProperties object itself.
-
expiry
Get the expiry property: Code expiry.- Returns:
- the expiry value.
-
withExpiry
Set the expiry property: Code expiry.- Parameters:
expiry
- the expiry value to set.- Returns:
- the VerificationCodeResponseProperties object itself.
-
thumbprint
Get the thumbprint property: Certificate thumbprint.- Returns:
- the thumbprint value.
-
withThumbprint
Set the thumbprint property: Certificate thumbprint.- Parameters:
thumbprint
- the thumbprint value to set.- Returns:
- the VerificationCodeResponseProperties object itself.
-
isVerified
Get the isVerified property: Indicate if the certificate is verified by owner of private key.- Returns:
- the isVerified value.
-
withIsVerified
Set the isVerified property: Indicate if the certificate is verified by owner of private key.- Parameters:
isVerified
- the isVerified value to set.- Returns:
- the VerificationCodeResponseProperties object itself.
-
certificate
public byte[] 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 VerificationCodeResponseProperties object itself.
-
created
Get the created property: Certificate created time.- Returns:
- the created value.
-
withCreated
Set the created property: Certificate created time.- Parameters:
created
- the created value to set.- Returns:
- the VerificationCodeResponseProperties object itself.
-
updated
Get the updated property: Certificate updated time.- Returns:
- the updated value.
-
withUpdated
Set the updated property: Certificate updated time.- Parameters:
updated
- the updated value to set.- Returns:
- the VerificationCodeResponseProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-