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.
Method Summary
Modifier and Type | Method and Description |
---|---|
Delete |
deleteCertificateError()
Get this property is set only if the certificate is in the DeleteFailed state. |
Certificate |
previousState()
Get this property is not set if the certificate is in its initial active state. Possible values include: 'active', 'deleting', 'deleteFailed'. |
DateTime |
previousStateTransitionTime()
Get this property is not set if the certificate is in its initial Active state. |
String |
publicData()
Get the publicData value. |
Certificate |
state()
Get possible values include: 'active', 'deleting', 'deleteFailed'. |
DateTime |
stateTransitionTime()
Get the stateTransitionTime value. |
String |
thumbprint()
Get the thumbprint value. |
String |
thumbprintAlgorithm()
Get the thumbprintAlgorithm value. |
String |
url()
Get the url value. |
Certificate |
withDeleteCertificateError(DeleteCertificateError deleteCertificateError)
Set this property is set only if the certificate is in the DeleteFailed state. |
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'. |
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 publicData value. |
Certificate |
withState(CertificateState state)
Set possible values include: 'active', 'deleting', 'deleteFailed'. |
Certificate |
withStateTransitionTime(DateTime stateTransitionTime)
Set the stateTransitionTime value. |
Certificate |
withThumbprint(String thumbprint)
Set the thumbprint value. |
Certificate |
withThumbprintAlgorithm(String thumbprintAlgorithm)
Set the thumbprintAlgorithm value. |
Certificate |
withUrl(String url)
Set the url value. |
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