Class ManagedCertificate
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.Certificate
-
- com.azure.resourcemanager.cdn.models.ManagedCertificate
-
public final class ManagedCertificate extends Certificate
Managed Certificate used for https.
-
-
Constructor Summary
Constructors Constructor Description ManagedCertificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.ManagedCertificatewithExpirationDate(String expirationDate)Set the expirationDate property: Certificate expiration date.ManagedCertificatewithSubject(String subject)Set the subject property: Subject name in the certificate.ManagedCertificatewithThumbprint(String thumbprint)Set the thumbprint property: Certificate thumbprint.-
Methods inherited from class com.azure.resourcemanager.cdn.models.Certificate
expirationDate, subject, thumbprint
-
-
-
-
Method Detail
-
withSubject
public ManagedCertificate withSubject(String subject)
Set the subject property: Subject name in the certificate.- Overrides:
withSubjectin classCertificate- Parameters:
subject- the subject value to set.- Returns:
- the Certificate object itself.
-
withExpirationDate
public ManagedCertificate withExpirationDate(String expirationDate)
Set the expirationDate property: Certificate expiration date.- Overrides:
withExpirationDatein classCertificate- Parameters:
expirationDate- the expirationDate value to set.- Returns:
- the Certificate object itself.
-
withThumbprint
public ManagedCertificate withThumbprint(String thumbprint)
Set the thumbprint property: Certificate thumbprint.- Overrides:
withThumbprintin classCertificate- Parameters:
thumbprint- the thumbprint value to set.- Returns:
- the Certificate object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classCertificate- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-