Class CertificateInformation
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.CertificateInformation
-
public final class CertificateInformation extends Object
SSL certificate information.
-
-
Constructor Summary
Constructors Constructor Description CertificateInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
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.
-
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.
-
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the certificate.- Returns:
- the thumbprint value.
-
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.
-
subject
public String subject()
Get the subject property: Subject of the certificate.- Returns:
- the subject value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-