Class Certificate
java.lang.Object
com.microsoft.azure.management.cdn.Certificate
- Direct Known Subclasses:
CustomerCertificate
,ManagedCertificate
Certificate used for https.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet certificate expiration date.subject()
Get subject name in the certificate.Get certificate thumbprint.withExpirationDate
(String expirationDate) Set certificate expiration date.withSubject
(String subject) Set subject name in the certificate.withThumbprint
(String thumbprint) Set certificate thumbprint.
-
Constructor Details
-
Certificate
public Certificate()
-
-
Method Details
-
subject
Get subject name in the certificate.- Returns:
- the subject value
-
withSubject
Set subject name in the certificate.- Parameters:
subject
- the subject value to set- Returns:
- the Certificate object itself.
-
expirationDate
Get certificate expiration date.- Returns:
- the expirationDate value
-
withExpirationDate
Set certificate expiration date.- Parameters:
expirationDate
- the expirationDate value to set- Returns:
- the Certificate object itself.
-
thumbprint
Get certificate thumbprint.- Returns:
- the thumbprint value
-
withThumbprint
Set certificate thumbprint.- Parameters:
thumbprint
- the thumbprint value to set- Returns:
- the Certificate object itself.
-