Share via


CertificateInformation Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.CertificateInformation

public class CertificateInformation

SSL certificate information.

Constructor Summary

Constructor Description
CertificateInformation()

Method Summary

Modifier and Type Method and Description
org.joda.time.DateTime expiry()

Get expiration date of the certificate.

java.lang.String subject()

Get subject of the certificate.

java.lang.String thumbprint()

Get thumbprint of the certificate.

CertificateInformation withExpiry(DateTime expiry)

Set expiration date of the certificate.

CertificateInformation withSubject(String subject)

Set subject of the certificate.

CertificateInformation withThumbprint(String thumbprint)

Set thumbprint of the certificate.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CertificateInformation

public CertificateInformation()

Method Details

expiry

public DateTime expiry()

Get 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 subject of the certificate.

Returns:

the subject value

thumbprint

public String thumbprint()

Get thumbprint of the certificate.

Returns:

the thumbprint value

withExpiry

public CertificateInformation withExpiry(DateTime expiry)

Set 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 subject of the certificate.

Parameters:

subject - the subject value to set

Returns:

the CertificateInformation object itself.

withThumbprint

public CertificateInformation withThumbprint(String thumbprint)

Set thumbprint of the certificate.

Parameters:

thumbprint - the thumbprint value to set

Returns:

the CertificateInformation object itself.

Applies to