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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deleteCertificateError property: This is only returned when the certificate provisioningState is 'Failed'.etag()
Get the etag property: The ETag of the resource, used for concurrency statements.format()
Get the format property: The format of the certificate - either Pfx or Cer.Get the previousProvisioningState property: The previous provisioned state of the resource.Get the previousProvisioningStateTransitionTime property: The time at which the certificate entered its previous state.Get the provisioningState property: The provisioningState property.Get the provisioningStateTransitionTime property: The time at which the certificate entered its current state.Get the publicData property: The public key of the certificate.Get the thumbprint property: The thumbprint of the certificate.Get the thumbprintAlgorithm property: The algorithm of the certificate thumbprint.void
validate()
Validates the instance.withFormat
(CertificateFormat format) Set the format property: The format of the certificate - either Pfx or Cer.withThumbprint
(String thumbprint) Set the thumbprint property: The thumbprint of the certificate.withThumbprintAlgorithm
(String thumbprintAlgorithm) Set the thumbprintAlgorithm property: The algorithm of the certificate thumbprint.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CertificateInner
public CertificateInner()Creates an instance of CertificateInner class.
-
-
Method Details
-
etag
Get the etag property: The ETag of the resource, used for concurrency statements.- Returns:
- the etag value.
-
provisioningState
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
provisioningStateTransitionTime
Get the provisioningStateTransitionTime property: The time at which the certificate entered its current state.- Returns:
- the provisioningStateTransitionTime value.
-
previousProvisioningState
Get the previousProvisioningState property: The previous provisioned state of the resource.- Returns:
- the previousProvisioningState value.
-
previousProvisioningStateTransitionTime
Get the previousProvisioningStateTransitionTime property: The time at which the certificate entered its previous state.- Returns:
- the previousProvisioningStateTransitionTime value.
-
publicData
Get the publicData property: The public key of the certificate.- Returns:
- the publicData value.
-
deleteCertificateError
Get the deleteCertificateError property: This is only returned when the certificate provisioningState is 'Failed'.- Returns:
- the deleteCertificateError value.
-
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
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
Get the thumbprint property: The thumbprint of the certificate.This must match the thumbprint from the name.
- Returns:
- the thumbprint value.
-
withThumbprint
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
Get the format property: The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.- Returns:
- the format value.
-
withFormat
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.
-