CertificateInformation Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. CertificateInformation
- com.
public final class CertificateInformation
SSL certificate information.
Constructor Summary
Constructor | Description |
---|---|
CertificateInformation() |
Creates an instance of Certificate |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
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. |
Certificate |
withExpiry(OffsetDateTime expiry)
Set the expiry property: Expiration date of the certificate. |
Certificate |
withSubject(String subject)
Set the subject property: Subject of the certificate. |
Certificate |
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:
subject
public String subject()
Get the subject property: Subject of the certificate.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the certificate.
Returns:
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:
Returns:
withSubject
public CertificateInformation withSubject(String subject)
Set the subject property: Subject of the certificate.
Parameters:
Returns:
withThumbprint
public CertificateInformation withThumbprint(String thumbprint)
Set the thumbprint property: Thumbprint of the certificate.
Parameters:
Returns:
Applies to
Azure SDK for Java