Class InstanceStateChangeReason

    • Constructor Detail

      • InstanceStateChangeReason

        public InstanceStateChangeReason()
    • Method Detail

      • setCode

        public void setCode​(String code)

        The programmable code for the state change reason.

        Parameters:
        code - The programmable code for the state change reason.
        See Also:
        InstanceStateChangeReasonCode
      • getCode

        public String getCode()

        The programmable code for the state change reason.

        Returns:
        The programmable code for the state change reason.
        See Also:
        InstanceStateChangeReasonCode
      • withCode

        public InstanceStateChangeReason withCode​(String code)

        The programmable code for the state change reason.

        Parameters:
        code - The programmable code for the state change reason.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceStateChangeReasonCode
      • setMessage

        public void setMessage​(String message)

        The status change reason description.

        Parameters:
        message - The status change reason description.
      • getMessage

        public String getMessage()

        The status change reason description.

        Returns:
        The status change reason description.
      • withMessage

        public InstanceStateChangeReason withMessage​(String message)

        The status change reason description.

        Parameters:
        message - The status change reason description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object