Class 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 Detail

      • Certificate

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