CustomerCertificateParameters Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. SecretParameters - com.
microsoft. azure. management. cdn. CustomerCertificateParameters
- com.
- com.
public class CustomerCertificateParameters
extends SecretParameters
Customer Certificate used for https.
Constructor Summary
Constructor | Description | |
---|---|---|
CustomerCertificateParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
certificateAuthority()
Get certificate issuing authority. |
Resource |
secretSource()
Get resource reference to the KV secret. |
java.lang.String |
secretVersion()
Get version of the secret to be used. |
java.util.List<java.lang.String> |
subjectAlternativeNames()
Get the list of SANs. |
java.lang.Boolean |
useLatestVersion()
Get whether to use the latest version for the certificate. |
Customer |
withCertificateAuthority(String certificateAuthority)
Set certificate issuing authority. |
Customer |
withSecretSource(ResourceReference secretSource)
Set resource reference to the KV secret. |
Customer |
withSecretVersion(String secretVersion)
Set version of the secret to be used. |
Customer |
withSubjectAlternativeNames(List<String> subjectAlternativeNames)
Set the list of SANs. |
Customer |
withUseLatestVersion(Boolean useLatestVersion)
Set whether to use the latest version for the certificate. |
Methods inherited from java.lang.Object
Constructor Details
CustomerCertificateParameters
public CustomerCertificateParameters()
Method Details
certificateAuthority
public String certificateAuthority()
Get certificate issuing authority.
Returns:
secretSource
public ResourceReference secretSource()
Get resource reference to the KV secret.
Returns:
secretVersion
public String secretVersion()
Get version of the secret to be used.
Returns:
subjectAlternativeNames
public List
Get the list of SANs.
Returns:
useLatestVersion
public Boolean useLatestVersion()
Get whether to use the latest version for the certificate.
Returns:
withCertificateAuthority
public CustomerCertificateParameters withCertificateAuthority(String certificateAuthority)
Set certificate issuing authority.
Parameters:
Returns:
withSecretSource
public CustomerCertificateParameters withSecretSource(ResourceReference secretSource)
Set resource reference to the KV secret.
Parameters:
Returns:
withSecretVersion
public CustomerCertificateParameters withSecretVersion(String secretVersion)
Set version of the secret to be used.
Parameters:
Returns:
withSubjectAlternativeNames
public CustomerCertificateParameters withSubjectAlternativeNames(List
Set the list of SANs.
Parameters:
Returns:
withUseLatestVersion
public CustomerCertificateParameters withUseLatestVersion(Boolean useLatestVersion)
Set whether to use the latest version for the certificate.
Parameters:
Returns:
Applies to
Azure SDK for Java