Class CertificateInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.batch.fluent.models.CertificateInner

public final class CertificateInner extends com.azure.core.management.ProxyResource
Contains information about a certificate.
  • Constructor Details

    • CertificateInner

      public CertificateInner()
      Creates an instance of CertificateInner class.
  • Method Details

    • etag

      public String etag()
      Get the etag property: The ETag of the resource, used for concurrency statements.
      Returns:
      the etag value.
    • provisioningState

      public CertificateProvisioningState provisioningState()
      Get the provisioningState property: The provisioningState property.
      Returns:
      the provisioningState value.
    • provisioningStateTransitionTime

      public OffsetDateTime provisioningStateTransitionTime()
      Get the provisioningStateTransitionTime property: The time at which the certificate entered its current state.
      Returns:
      the provisioningStateTransitionTime value.
    • previousProvisioningState

      public CertificateProvisioningState previousProvisioningState()
      Get the previousProvisioningState property: The previous provisioned state of the resource.
      Returns:
      the previousProvisioningState value.
    • previousProvisioningStateTransitionTime

      public OffsetDateTime previousProvisioningStateTransitionTime()
      Get the previousProvisioningStateTransitionTime property: The time at which the certificate entered its previous state.
      Returns:
      the previousProvisioningStateTransitionTime value.
    • publicData

      public String publicData()
      Get the publicData property: The public key of the certificate.
      Returns:
      the publicData value.
    • deleteCertificateError

      public DeleteCertificateError deleteCertificateError()
      Get the deleteCertificateError property: This is only returned when the certificate provisioningState is 'Failed'.
      Returns:
      the deleteCertificateError value.
    • thumbprintAlgorithm

      public String thumbprintAlgorithm()
      Get the thumbprintAlgorithm property: The algorithm of the certificate thumbprint.

      This must match the first portion of the certificate name. Currently required to be 'SHA1'.

      Returns:
      the thumbprintAlgorithm value.
    • withThumbprintAlgorithm

      public CertificateInner withThumbprintAlgorithm(String thumbprintAlgorithm)
      Set the thumbprintAlgorithm property: The algorithm of the certificate thumbprint.

      This must match the first portion of the certificate name. Currently required to be 'SHA1'.

      Parameters:
      thumbprintAlgorithm - the thumbprintAlgorithm value to set.
      Returns:
      the CertificateInner object itself.
    • thumbprint

      public String thumbprint()
      Get the thumbprint property: The thumbprint of the certificate.

      This must match the thumbprint from the name.

      Returns:
      the thumbprint value.
    • withThumbprint

      public CertificateInner withThumbprint(String thumbprint)
      Set the thumbprint property: The thumbprint of the certificate.

      This must match the thumbprint from the name.

      Parameters:
      thumbprint - the thumbprint value to set.
      Returns:
      the CertificateInner object itself.
    • format

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

      public CertificateInner withFormat(CertificateFormat format)
      Set the format property: The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.
      Parameters:
      format - the format value to set.
      Returns:
      the CertificateInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.