public class AgentConfigurationStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
agentId
The agent ID.
|
private java.lang.String |
description
A description of the operation performed.
|
private java.lang.Boolean |
operationSucceeded
Information about the status of the
StartDataCollection and
StopDataCollection operations. |
Constructor and Description |
---|
AgentConfigurationStatus() |
Modifier and Type | Method and Description |
---|---|
AgentConfigurationStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentId()
The agent ID.
|
java.lang.String |
getDescription()
A description of the operation performed.
|
java.lang.Boolean |
getOperationSucceeded()
Information about the status of the
StartDataCollection and
StopDataCollection operations. |
int |
hashCode() |
java.lang.Boolean |
isOperationSucceeded()
Information about the status of the
StartDataCollection and
StopDataCollection operations. |
void |
setAgentId(java.lang.String agentId)
The agent ID.
|
void |
setDescription(java.lang.String description)
A description of the operation performed.
|
void |
setOperationSucceeded(java.lang.Boolean operationSucceeded)
Information about the status of the
StartDataCollection and
StopDataCollection operations. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentConfigurationStatus |
withAgentId(java.lang.String agentId)
The agent ID.
|
AgentConfigurationStatus |
withDescription(java.lang.String description)
A description of the operation performed.
|
AgentConfigurationStatus |
withOperationSucceeded(java.lang.Boolean operationSucceeded)
Information about the status of the
StartDataCollection and
StopDataCollection operations. |
private java.lang.String agentId
The agent ID.
private java.lang.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.
private java.lang.String description
A description of the operation performed.
public void setAgentId(java.lang.String agentId)
The agent ID.
agentId
- The agent ID.public java.lang.String getAgentId()
The agent ID.
public AgentConfigurationStatus withAgentId(java.lang.String agentId)
The agent ID.
agentId
- The agent ID.public void setOperationSucceeded(java.lang.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.
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.public java.lang.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.
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.public AgentConfigurationStatus withOperationSucceeded(java.lang.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.
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.public java.lang.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.
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.public void setDescription(java.lang.String description)
A description of the operation performed.
description
- A description of the operation performed.public java.lang.String getDescription()
A description of the operation performed.
public AgentConfigurationStatus withDescription(java.lang.String description)
A description of the operation performed.
description
- A description of the operation performed.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AgentConfigurationStatus clone()
clone
in class java.lang.Object