Class AgentConfigurationStatus

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class AgentConfigurationStatus
    extends Object
    implements Serializable, Cloneable

    Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation, and whether or not the agent configuration was updated.

    See Also:
    Serialized Form
    • Constructor Detail

      • AgentConfigurationStatus

        public AgentConfigurationStatus()
    • Method Detail

      • setAgentId

        public void setAgentId​(String agentId)

        The agent ID.

        Parameters:
        agentId - The agent ID.
      • getAgentId

        public String getAgentId()

        The agent ID.

        Returns:
        The agent ID.
      • withAgentId

        public AgentConfigurationStatus withAgentId​(String agentId)

        The agent ID.

        Parameters:
        agentId - The agent ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOperationSucceeded

        public void setOperationSucceeded​(Boolean operationSucceeded)

        Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.

        Parameters:
        operationSucceeded - Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
      • getOperationSucceeded

        public Boolean getOperationSucceeded()

        Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.

        Returns:
        Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
      • withOperationSucceeded

        public AgentConfigurationStatus withOperationSucceeded​(Boolean operationSucceeded)

        Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.

        Parameters:
        operationSucceeded - Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isOperationSucceeded

        public Boolean isOperationSucceeded()

        Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.

        Returns:
        Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
      • setDescription

        public void setDescription​(String description)

        A description of the operation performed.

        Parameters:
        description - A description of the operation performed.
      • getDescription

        public String getDescription()

        A description of the operation performed.

        Returns:
        A description of the operation performed.
      • withDescription

        public AgentConfigurationStatus withDescription​(String description)

        A description of the operation performed.

        Parameters:
        description - A description of the operation performed.
        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