Aracılığıyla paylaş


VerificationCodeResponseProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceprovisioningservices.models.VerificationCodeResponseProperties

public final class VerificationCodeResponseProperties

The VerificationCodeResponseProperties model.

Constructor Summary

Constructor Description
VerificationCodeResponseProperties()

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

VerificationCodeResponseProperties

public VerificationCodeResponseProperties()

Method Details

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.

created

public String created()

Get the created property: Certificate created time.

Returns:

the created value.

expiry

public String expiry()

Get the expiry property: Code expiry.

Returns:

the expiry value.

isVerified

public Boolean isVerified()

Get the isVerified property: Indicate if the certificate is verified by owner of private key.

Returns:

the isVerified value.

subject

public String subject()

Get the subject property: Certificate subject.

Returns:

the subject value.

thumbprint

public String thumbprint()

Get the thumbprint property: Certificate thumbprint.

Returns:

the thumbprint value.

updated

public String updated()

Get the updated property: Certificate updated time.

Returns:

the updated value.

validate

public void validate()

Validates the instance.

verificationCode

public String verificationCode()

Get the verificationCode property: Verification code.

Returns:

the verificationCode 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.

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.

withExpiry

public VerificationCodeResponseProperties withExpiry(String expiry)

Set the expiry property: Code expiry.

Parameters:

expiry - the expiry value to set.

Returns:

the VerificationCodeResponseProperties object itself.

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.

withSubject

public VerificationCodeResponseProperties withSubject(String subject)

Set the subject property: Certificate subject.

Parameters:

subject - the subject value to set.

Returns:

the VerificationCodeResponseProperties object itself.

withThumbprint

public VerificationCodeResponseProperties withThumbprint(String thumbprint)

Set the thumbprint property: Certificate thumbprint.

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the VerificationCodeResponseProperties object itself.

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.

withVerificationCode

public VerificationCodeResponseProperties withVerificationCode(String verificationCode)

Set the verificationCode property: Verification code.

Parameters:

verificationCode - the verificationCode value to set.

Returns:

the VerificationCodeResponseProperties object itself.

Applies to