Class CustomerCertificate

java.lang.Object
com.microsoft.azure.management.cdn.Certificate
com.microsoft.azure.management.cdn.CustomerCertificate

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

    • CustomerCertificate

      public CustomerCertificate()
  • Method Details

    • version

      public String version()
      Get certificate version.
      Returns:
      the version value
    • withVersion

      public CustomerCertificate withVersion(String version)
      Set certificate version.
      Parameters:
      version - the version value to set
      Returns:
      the CustomerCertificate object itself.
    • certificateAuthority

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

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

      public String certificateUrl()
      Get complete Url to the certificate.
      Returns:
      the certificateUrl value
    • withCertificateUrl

      public CustomerCertificate withCertificateUrl(String certificateUrl)
      Set complete Url to the certificate.
      Parameters:
      certificateUrl - the certificateUrl value to set
      Returns:
      the CustomerCertificate object itself.
    • useLatestVersion

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

      public CustomerCertificate withUseLatestVersion(Boolean useLatestVersion)
      Set whether to use the latest version for the certificate.
      Parameters:
      useLatestVersion - the useLatestVersion value to set
      Returns:
      the CustomerCertificate object itself.
    • subjectAlternativeNames

      public List<String> subjectAlternativeNames()
      Get the list of SANs.
      Returns:
      the subjectAlternativeNames value
    • withSubjectAlternativeNames

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