Class CustomerCertificateParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.SecretParameters
-
- com.azure.resourcemanager.cdn.models.CustomerCertificateParameters
-
public final class CustomerCertificateParameters extends SecretParameters
Customer Certificate used for https.
-
-
Constructor Summary
Constructors Constructor Description CustomerCertificateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcertificateAuthority()Get the certificateAuthority property: Certificate issuing authority.ResourceReferencesecretSource()Get the secretSource property: Resource reference to the KV secret.StringsecretVersion()Get the secretVersion property: Version of the secret to be used.List<String>subjectAlternativeNames()Get the subjectAlternativeNames property: The list of SANs.BooleanuseLatestVersion()Get the useLatestVersion property: Whether to use the latest version for the certificate.voidvalidate()Validates the instance.CustomerCertificateParameterswithCertificateAuthority(String certificateAuthority)Set the certificateAuthority property: Certificate issuing authority.CustomerCertificateParameterswithSecretSource(ResourceReference secretSource)Set the secretSource property: Resource reference to the KV secret.CustomerCertificateParameterswithSecretVersion(String secretVersion)Set the secretVersion property: Version of the secret to be used.CustomerCertificateParameterswithSubjectAlternativeNames(List<String> subjectAlternativeNames)Set the subjectAlternativeNames property: The list of SANs.CustomerCertificateParameterswithUseLatestVersion(Boolean useLatestVersion)Set the useLatestVersion property: Whether to use the latest version for the certificate.
-
-
-
Method Detail
-
secretSource
public ResourceReference secretSource()
Get the secretSource property: Resource reference to the KV secret.- Returns:
- the secretSource value.
-
withSecretSource
public CustomerCertificateParameters withSecretSource(ResourceReference secretSource)
Set the secretSource property: Resource reference to the KV secret.- Parameters:
secretSource- the secretSource value to set.- Returns:
- the CustomerCertificateParameters object itself.
-
secretVersion
public String secretVersion()
Get the secretVersion property: Version of the secret to be used.- Returns:
- the secretVersion value.
-
withSecretVersion
public CustomerCertificateParameters withSecretVersion(String secretVersion)
Set the secretVersion property: Version of the secret to be used.- Parameters:
secretVersion- the secretVersion value to set.- Returns:
- the CustomerCertificateParameters object itself.
-
certificateAuthority
public String certificateAuthority()
Get the certificateAuthority property: Certificate issuing authority.- Returns:
- the certificateAuthority value.
-
withCertificateAuthority
public CustomerCertificateParameters withCertificateAuthority(String certificateAuthority)
Set the certificateAuthority property: Certificate issuing authority.- Parameters:
certificateAuthority- the certificateAuthority value to set.- Returns:
- the CustomerCertificateParameters object itself.
-
useLatestVersion
public Boolean useLatestVersion()
Get the useLatestVersion property: Whether to use the latest version for the certificate.- Returns:
- the useLatestVersion value.
-
withUseLatestVersion
public CustomerCertificateParameters withUseLatestVersion(Boolean useLatestVersion)
Set the useLatestVersion property: Whether to use the latest version for the certificate.- Parameters:
useLatestVersion- the useLatestVersion value to set.- Returns:
- the CustomerCertificateParameters object itself.
-
subjectAlternativeNames
public List<String> subjectAlternativeNames()
Get the subjectAlternativeNames property: The list of SANs.- Returns:
- the subjectAlternativeNames value.
-
withSubjectAlternativeNames
public CustomerCertificateParameters withSubjectAlternativeNames(List<String> subjectAlternativeNames)
Set the subjectAlternativeNames property: The list of SANs.- Parameters:
subjectAlternativeNames- the subjectAlternativeNames value to set.- Returns:
- the CustomerCertificateParameters object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classSecretParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-