Class CertificateBaseProperties

java.lang.Object
com.microsoft.azure.management.batch.CertificateBaseProperties

public class CertificateBaseProperties extends Object
Base certificate properties.
  • Constructor Details

    • CertificateBaseProperties

      public CertificateBaseProperties()
  • Method Details

    • thumbprintAlgorithm

      public String thumbprintAlgorithm()
      Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.
      Returns:
      the thumbprintAlgorithm value
    • withThumbprintAlgorithm

      public CertificateBaseProperties withThumbprintAlgorithm(String thumbprintAlgorithm)
      Set this must match the first portion of the certificate name. Currently required to be 'SHA1'.
      Parameters:
      thumbprintAlgorithm - the thumbprintAlgorithm value to set
      Returns:
      the CertificateBaseProperties object itself.
    • thumbprint

      public String thumbprint()
      Get this must match the thumbprint from the name.
      Returns:
      the thumbprint value
    • withThumbprint

      public CertificateBaseProperties withThumbprint(String thumbprint)
      Set this must match the thumbprint from the name.
      Parameters:
      thumbprint - the thumbprint value to set
      Returns:
      the CertificateBaseProperties object itself.
    • format

      public CertificateFormat format()
      Get the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
      Returns:
      the format value
    • withFormat

      public CertificateBaseProperties withFormat(CertificateFormat format)
      Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
      Parameters:
      format - the format value to set
      Returns:
      the CertificateBaseProperties object itself.