Class Certificate
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.Certificate
-
public class Certificate extends Object
A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine.
-
-
Constructor Summary
Constructors Constructor Description Certificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteCertificateError
deleteCertificateError()
Get this property is set only if the Certificate is in the DeleteFailed state.CertificateState
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 publicData value.CertificateState
state()
Get possible values include: 'active', 'deleting', 'deleteFailed'.org.joda.time.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.Certificate
withPreviousStateTransitionTime(org.joda.time.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(org.joda.time.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 Detail
-
thumbprint
public String thumbprint()
Get the thumbprint value.- Returns:
- the thumbprint value
-
withThumbprint
public Certificate withThumbprint(String thumbprint)
Set the thumbprint value.- Parameters:
thumbprint
- the thumbprint value to set- Returns:
- the Certificate object itself.
-
thumbprintAlgorithm
public String thumbprintAlgorithm()
Get the thumbprintAlgorithm value.- Returns:
- the thumbprintAlgorithm value
-
withThumbprintAlgorithm
public Certificate withThumbprintAlgorithm(String thumbprintAlgorithm)
Set the thumbprintAlgorithm value.- Parameters:
thumbprintAlgorithm
- the thumbprintAlgorithm value to set- Returns:
- the Certificate object itself.
-
url
public String url()
Get the url value.- Returns:
- the url value
-
withUrl
public Certificate withUrl(String url)
Set the url value.- Parameters:
url
- the url value to set- Returns:
- the Certificate object itself.
-
state
public CertificateState state()
Get possible values include: 'active', 'deleting', 'deleteFailed'.- Returns:
- the state value
-
withState
public Certificate withState(CertificateState state)
Set possible values include: 'active', 'deleting', 'deleteFailed'.- Parameters:
state
- the state value to set- Returns:
- the Certificate object itself.
-
stateTransitionTime
public org.joda.time.DateTime stateTransitionTime()
Get the stateTransitionTime value.- Returns:
- the stateTransitionTime value
-
withStateTransitionTime
public Certificate withStateTransitionTime(org.joda.time.DateTime stateTransitionTime)
Set the stateTransitionTime value.- Parameters:
stateTransitionTime
- the stateTransitionTime value to set- Returns:
- the Certificate object itself.
-
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:
- the previousState value
-
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:
previousState
- the previousState value to set- Returns:
- the Certificate object itself.
-
previousStateTransitionTime
public org.joda.time.DateTime previousStateTransitionTime()
Get this property is not set if the Certificate is in its initial Active state.- Returns:
- the previousStateTransitionTime value
-
withPreviousStateTransitionTime
public Certificate withPreviousStateTransitionTime(org.joda.time.DateTime previousStateTransitionTime)
Set this property is not set if the Certificate is in its initial Active state.- Parameters:
previousStateTransitionTime
- the previousStateTransitionTime value to set- Returns:
- the Certificate object itself.
-
publicData
public String publicData()
Get the publicData value.- Returns:
- the publicData value
-
withPublicData
public Certificate withPublicData(String publicData)
Set the publicData value.- Parameters:
publicData
- the publicData value to set- Returns:
- the Certificate object itself.
-
deleteCertificateError
public DeleteCertificateError deleteCertificateError()
Get this property is set only if the Certificate is in the DeleteFailed state.- Returns:
- the deleteCertificateError value
-
withDeleteCertificateError
public Certificate withDeleteCertificateError(DeleteCertificateError deleteCertificateError)
Set this property is set only if the Certificate is in the DeleteFailed state.- Parameters:
deleteCertificateError
- the deleteCertificateError value to set- Returns:
- the Certificate object itself.
-
-