Class Monitoring

    • Constructor Detail

      • Monitoring

        public Monitoring()
    • Method Detail

      • setState

        public void setState​(String state)

        Indicates whether monitoring is enabled for the instance.

        Parameters:
        state - Indicates whether monitoring is enabled for the instance.
        See Also:
        MonitoringState
      • getState

        public String getState()

        Indicates whether monitoring is enabled for the instance.

        Returns:
        Indicates whether monitoring is enabled for the instance.
        See Also:
        MonitoringState
      • withState

        public Monitoring withState​(String state)

        Indicates whether monitoring is enabled for the instance.

        Parameters:
        state - Indicates whether monitoring is enabled for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MonitoringState
      • setState

        public void setState​(MonitoringState state)

        Indicates whether monitoring is enabled for the instance.

        Parameters:
        state - Indicates whether monitoring is enabled for the instance.
        See Also:
        MonitoringState
      • withState

        public Monitoring withState​(MonitoringState state)

        Indicates whether monitoring is enabled for the instance.

        Parameters:
        state - Indicates whether monitoring is enabled for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MonitoringState
      • 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