Class CustomerCertificateParameters

java.lang.Object
com.microsoft.azure.management.cdn.SecretParameters
com.microsoft.azure.management.cdn.CustomerCertificateParameters

public class CustomerCertificateParameters extends SecretParameters
Customer Certificate used for https.
  • Constructor Details

    • CustomerCertificateParameters

      public CustomerCertificateParameters()
  • Method Details

    • secretSource

      public ResourceReference secretSource()
      Get resource reference to the KV secret.
      Returns:
      the secretSource value
    • withSecretSource

      public CustomerCertificateParameters withSecretSource(ResourceReference secretSource)
      Set resource reference to the KV secret.
      Parameters:
      secretSource - the secretSource value to set
      Returns:
      the CustomerCertificateParameters object itself.
    • secretVersion

      public String secretVersion()
      Get version of the secret to be used.
      Returns:
      the secretVersion value
    • withSecretVersion

      public CustomerCertificateParameters withSecretVersion(String secretVersion)
      Set version of the secret to be used.
      Parameters:
      secretVersion - the secretVersion value to set
      Returns:
      the CustomerCertificateParameters object itself.
    • certificateAuthority

      public String certificateAuthority()
      Get certificate issuing authority.
      Returns:
      the certificateAuthority value
    • withCertificateAuthority

      public CustomerCertificateParameters withCertificateAuthority(String certificateAuthority)
      Set certificate issuing authority.
      Parameters:
      certificateAuthority - the certificateAuthority value to set
      Returns:
      the CustomerCertificateParameters object itself.
    • useLatestVersion

      public Boolean useLatestVersion()
      Get whether to use the latest version for the certificate.
      Returns:
      the useLatestVersion value
    • withUseLatestVersion

      public CustomerCertificateParameters withUseLatestVersion(Boolean useLatestVersion)
      Set 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 list of SANs.
      Returns:
      the subjectAlternativeNames value
    • withSubjectAlternativeNames

      public CustomerCertificateParameters withSubjectAlternativeNames(List<String> subjectAlternativeNames)
      Set the list of SANs.
      Parameters:
      subjectAlternativeNames - the subjectAlternativeNames value to set
      Returns:
      the CustomerCertificateParameters object itself.