Certificate Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.Certificate

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
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(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.

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:

the deleteCertificateError value

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

previousStateTransitionTime

public DateTime previousStateTransitionTime()

Get this property is not set if the Certificate is in its initial Active state.

Returns:

the previousStateTransitionTime value

publicData

public String publicData()

Get the publicData value.

Returns:

the publicData value

state

public CertificateState state()

Get possible values include: 'active', 'deleting', 'deleteFailed'.

Returns:

the state value

stateTransitionTime

public DateTime stateTransitionTime()

Get the stateTransitionTime value.

Returns:

the stateTransitionTime value

thumbprint

public String thumbprint()

Get the thumbprint value.

Returns:

the thumbprint value

thumbprintAlgorithm

public String thumbprintAlgorithm()

Get the thumbprintAlgorithm value.

Returns:

the thumbprintAlgorithm value

url

public String url()

Get the url value.

Returns:

the url 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.

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.

withPreviousStateTransitionTime

public Certificate withPreviousStateTransitionTime(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.

withPublicData

public Certificate withPublicData(String publicData)

Set the publicData value.

Parameters:

publicData - the publicData value to set

Returns:

the Certificate object itself.

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.

withStateTransitionTime

public Certificate withStateTransitionTime(DateTime stateTransitionTime)

Set the stateTransitionTime value.

Parameters:

stateTransitionTime - the stateTransitionTime value to set

Returns:

the Certificate object itself.

withThumbprint

public Certificate withThumbprint(String thumbprint)

Set the thumbprint value.

Parameters:

thumbprint - the thumbprint value to set

Returns:

the Certificate object itself.

withThumbprintAlgorithm

public Certificate withThumbprintAlgorithm(String thumbprintAlgorithm)

Set the thumbprintAlgorithm value.

Parameters:

thumbprintAlgorithm - the thumbprintAlgorithm value to set

Returns:

the Certificate object itself.

withUrl

public Certificate withUrl(String url)

Set the url value.

Parameters:

url - the url value to set

Returns:

the Certificate object itself.

Applies to