CertificateInformation Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.CertificateInformation

public final class CertificateInformation

SSL certificate information.

Constructor Summary

Constructor Description
CertificateInformation()

Creates an instance of CertificateInformation class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime expiry()

Get the expiry property: Expiration date of the certificate.

String subject()

Get the subject property: Subject of the certificate.

String thumbprint()

Get the thumbprint property: Thumbprint of the certificate.

void validate()

Validates the instance.

CertificateInformation withExpiry(OffsetDateTime expiry)

Set the expiry property: Expiration date of the certificate.

CertificateInformation withSubject(String subject)

Set the subject property: Subject of the certificate.

CertificateInformation withThumbprint(String thumbprint)

Set the thumbprint property: Thumbprint of the certificate.

Methods inherited from java.lang.Object

Constructor Details

CertificateInformation

public CertificateInformation()

Creates an instance of CertificateInformation class.

Method Details

expiry

public OffsetDateTime expiry()

Get the expiry property: Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

Returns:

the expiry value.

subject

public String subject()

Get the subject property: Subject of the certificate.

Returns:

the subject value.

thumbprint

public String thumbprint()

Get the thumbprint property: Thumbprint of the certificate.

Returns:

the thumbprint value.

validate

public void validate()

Validates the instance.

withExpiry

public CertificateInformation withExpiry(OffsetDateTime expiry)

Set the expiry property: Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.

Parameters:

expiry - the expiry value to set.

Returns:

the CertificateInformation object itself.

withSubject

public CertificateInformation withSubject(String subject)

Set the subject property: Subject of the certificate.

Parameters:

subject - the subject value to set.

Returns:

the CertificateInformation object itself.

withThumbprint

public CertificateInformation withThumbprint(String thumbprint)

Set the thumbprint property: Thumbprint of the certificate.

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the CertificateInformation object itself.

Applies to