Certificate Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. Certificate
- com.
public class Certificate
A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine.
Constructor Summary
Constructor | Description | |
---|---|---|
Certificate() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Delete |
deleteCertificateError()
Get this property is set only if the Certificate is in the Delete |
Certificate |
previousState()
Get this property is not set if the Certificate is in its initial active state. |
org.joda.time.DateTime |
previousStateTransitionTime()
Get this property is not set if the Certificate is in its initial Active state. |
String |
publicData()
Get the public |
Certificate |
state()
Get possible values include: 'active', 'deleting', 'delete |
org.joda.time.DateTime |
stateTransitionTime()
Get the state |
String |
thumbprint()
Get the thumbprint value. |
String |
thumbprintAlgorithm()
Get the thumbprint |
String |
url()
Get the url value. |
Certificate |
withDeleteCertificateError(DeleteCertificateError deleteCertificateError)
Set this property is set only if the Certificate is in the Delete |
Certificate |
withPreviousState(CertificateState previousState)
Set this property is not set if the Certificate is in its initial active state. |
Certificate |
withPreviousStateTransitionTime(DateTime previousStateTransitionTime)
Set this property is not set if the Certificate is in its initial Active state. |
Certificate |
withPublicData(String publicData)
Set the public |
Certificate |
withState(CertificateState state)
Set possible values include: 'active', 'deleting', 'delete |
Certificate |
withStateTransitionTime(DateTime stateTransitionTime)
Set the state |
Certificate |
withThumbprint(String thumbprint)
Set the thumbprint value. |
Certificate |
withThumbprintAlgorithm(String thumbprintAlgorithm)
Set the thumbprint |
Certificate |
withUrl(String url)
Set the url value. |
Methods inherited from java.lang.Object
Constructor Details
Certificate
public Certificate()
Method Details
deleteCertificateError
public DeleteCertificateError deleteCertificateError()
Get this property is set only if the Certificate is in the DeleteFailed state.
Returns:
previousState
public CertificateState previousState()
Get this property is not set if the Certificate is in its initial active state. Possible values include: 'active', 'deleting', 'deleteFailed'.
Returns:
previousStateTransitionTime
public DateTime previousStateTransitionTime()
Get this property is not set if the Certificate is in its initial Active state.
Returns:
publicData
public String publicData()
Get the publicData value.
Returns:
state
public CertificateState state()
Get possible values include: 'active', 'deleting', 'deleteFailed'.
Returns:
stateTransitionTime
public DateTime stateTransitionTime()
Get the stateTransitionTime value.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint value.
Returns:
thumbprintAlgorithm
public String thumbprintAlgorithm()
Get the thumbprintAlgorithm value.
Returns:
url
public String url()
Get the url value.
Returns:
withDeleteCertificateError
public Certificate withDeleteCertificateError(DeleteCertificateError deleteCertificateError)
Set this property is set only if the Certificate is in the DeleteFailed state.
Parameters:
Returns:
withPreviousState
public Certificate withPreviousState(CertificateState previousState)
Set this property is not set if the Certificate is in its initial active state. Possible values include: 'active', 'deleting', 'deleteFailed'.
Parameters:
Returns:
withPreviousStateTransitionTime
public Certificate withPreviousStateTransitionTime(DateTime previousStateTransitionTime)
Set this property is not set if the Certificate is in its initial Active state.
Parameters:
Returns:
withPublicData
public Certificate withPublicData(String publicData)
Set the publicData value.
Parameters:
Returns:
withState
public Certificate withState(CertificateState state)
Set possible values include: 'active', 'deleting', 'deleteFailed'.
Parameters:
Returns:
withStateTransitionTime
public Certificate withStateTransitionTime(DateTime stateTransitionTime)
Set the stateTransitionTime value.
Parameters:
Returns:
withThumbprint
public Certificate withThumbprint(String thumbprint)
Set the thumbprint value.
Parameters:
Returns:
withThumbprintAlgorithm
public Certificate withThumbprintAlgorithm(String thumbprintAlgorithm)
Set the thumbprintAlgorithm value.
Parameters:
Returns:
withUrl
public Certificate withUrl(String url)
Set the url value.
Parameters:
Returns:
Applies to
Azure SDK for Java