public final class CustomerCertificateParameters extends SecretParameters
| Constructor and Description |
|---|
CustomerCertificateParameters() |
| Modifier and Type | Method and Description |
|---|---|
String |
certificateAuthority()
Get the certificateAuthority property: Certificate issuing authority.
|
ResourceReference |
secretSource()
Get the secretSource property: Resource reference to the KV secret.
|
String |
secretVersion()
Get the secretVersion property: Version of the secret to be used.
|
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.
|
CustomerCertificateParameters |
withCertificateAuthority(String certificateAuthority)
Set the certificateAuthority property: Certificate issuing authority.
|
CustomerCertificateParameters |
withSecretSource(ResourceReference secretSource)
Set the secretSource property: Resource reference to the KV secret.
|
CustomerCertificateParameters |
withSecretVersion(String secretVersion)
Set the secretVersion property: Version of the secret to be used.
|
CustomerCertificateParameters |
withSubjectAlternativeNames(List<String> subjectAlternativeNames)
Set the subjectAlternativeNames property: The list of SANs.
|
CustomerCertificateParameters |
withUseLatestVersion(Boolean useLatestVersion)
Set the useLatestVersion property: Whether to use the latest version for the certificate.
|
public ResourceReference secretSource()
public CustomerCertificateParameters withSecretSource(ResourceReference secretSource)
secretSource - the secretSource value to set.public String secretVersion()
public CustomerCertificateParameters withSecretVersion(String secretVersion)
secretVersion - the secretVersion value to set.public String certificateAuthority()
public CustomerCertificateParameters withCertificateAuthority(String certificateAuthority)
certificateAuthority - the certificateAuthority value to set.public Boolean useLatestVersion()
public CustomerCertificateParameters withUseLatestVersion(Boolean useLatestVersion)
useLatestVersion - the useLatestVersion value to set.public List<String> subjectAlternativeNames()
public CustomerCertificateParameters withSubjectAlternativeNames(List<String> subjectAlternativeNames)
subjectAlternativeNames - the subjectAlternativeNames value to set.public void validate()
validate in class SecretParametersIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.