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