Class AgentConfigurationStatus
- java.lang.Object
-
- com.amazonaws.services.applicationdiscovery.model.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 Summary
Constructors Constructor Description AgentConfigurationStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentConfigurationStatus
clone()
boolean
equals(Object obj)
String
getAgentId()
The agent ID.String
getDescription()
A description of the operation performed.Boolean
getOperationSucceeded()
Information about the status of theStartDataCollection
andStopDataCollection
operations.int
hashCode()
Boolean
isOperationSucceeded()
Information about the status of theStartDataCollection
andStopDataCollection
operations.void
setAgentId(String agentId)
The agent ID.void
setDescription(String description)
A description of the operation performed.void
setOperationSucceeded(Boolean operationSucceeded)
Information about the status of theStartDataCollection
andStopDataCollection
operations.String
toString()
Returns a string representation of this object; useful for testing and debugging.AgentConfigurationStatus
withAgentId(String agentId)
The agent ID.AgentConfigurationStatus
withDescription(String description)
A description of the operation performed.AgentConfigurationStatus
withOperationSucceeded(Boolean operationSucceeded)
Information about the status of theStartDataCollection
andStopDataCollection
operations.
-
-
-
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
andStopDataCollection
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 theStartDataCollection
andStopDataCollection
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
andStopDataCollection
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
andStopDataCollection
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
andStopDataCollection
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 theStartDataCollection
andStopDataCollection
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
andStopDataCollection
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
andStopDataCollection
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AgentConfigurationStatus clone()
-
-