public final class CustomerCertificate extends Certificate
| Constructor and Description |
|---|
CustomerCertificate() |
| Modifier and Type | Method and Description |
|---|---|
String |
certificateAuthority()
Get the certificateAuthority property: Certificate issuing authority.
|
String |
certificateUrl()
Get the certificateUrl property: Complete Url to the certificate.
|
List<String> |
subjectAlternativeNames()
Get the subjectAlternativeNames property: The list of SANs.
|
Boolean |
useLatestVersion()
Get the useLatestVersion property: Whether to use the latest version for the certificate.
|
void |
validate()
Validates the instance.
|
String |
version()
Get the version property: Certificate version.
|
CustomerCertificate |
withCertificateAuthority(String certificateAuthority)
Set the certificateAuthority property: Certificate issuing authority.
|
CustomerCertificate |
withCertificateUrl(String certificateUrl)
Set the certificateUrl property: Complete Url to the certificate.
|
CustomerCertificate |
withExpirationDate(String expirationDate)
Set the expirationDate property: Certificate expiration date.
|
CustomerCertificate |
withSubject(String subject)
Set the subject property: Subject name in the certificate.
|
CustomerCertificate |
withSubjectAlternativeNames(List<String> subjectAlternativeNames)
Set the subjectAlternativeNames property: The list of SANs.
|
CustomerCertificate |
withThumbprint(String thumbprint)
Set the thumbprint property: Certificate thumbprint.
|
CustomerCertificate |
withUseLatestVersion(Boolean useLatestVersion)
Set the useLatestVersion property: Whether to use the latest version for the certificate.
|
CustomerCertificate |
withVersion(String version)
Set the version property: Certificate version.
|
expirationDate, subject, thumbprintpublic String version()
public CustomerCertificate withVersion(String version)
version - the version value to set.public String certificateAuthority()
public CustomerCertificate withCertificateAuthority(String certificateAuthority)
certificateAuthority - the certificateAuthority value to set.public String certificateUrl()
public CustomerCertificate withCertificateUrl(String certificateUrl)
certificateUrl - the certificateUrl value to set.public Boolean useLatestVersion()
public CustomerCertificate withUseLatestVersion(Boolean useLatestVersion)
useLatestVersion - the useLatestVersion value to set.public List<String> subjectAlternativeNames()
public CustomerCertificate withSubjectAlternativeNames(List<String> subjectAlternativeNames)
subjectAlternativeNames - the subjectAlternativeNames value to set.public CustomerCertificate withSubject(String subject)
withSubject in class Certificatesubject - the subject value to set.public CustomerCertificate withExpirationDate(String expirationDate)
withExpirationDate in class CertificateexpirationDate - the expirationDate value to set.public CustomerCertificate withThumbprint(String thumbprint)
withThumbprint in class Certificatethumbprint - the thumbprint value to set.public void validate()
validate in class CertificateIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.