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 AgentConfigurationStatusclone()booleanequals(Object obj)StringgetAgentId()The agent ID.StringgetDescription()A description of the operation performed.BooleangetOperationSucceeded()Information about the status of theStartDataCollectionandStopDataCollectionoperations.inthashCode()BooleanisOperationSucceeded()Information about the status of theStartDataCollectionandStopDataCollectionoperations.voidsetAgentId(String agentId)The agent ID.voidsetDescription(String description)A description of the operation performed.voidsetOperationSucceeded(Boolean operationSucceeded)Information about the status of theStartDataCollectionandStopDataCollectionoperations.StringtoString()Returns a string representation of this object; useful for testing and debugging.AgentConfigurationStatuswithAgentId(String agentId)The agent ID.AgentConfigurationStatuswithDescription(String description)A description of the operation performed.AgentConfigurationStatuswithOperationSucceeded(Boolean operationSucceeded)Information about the status of theStartDataCollectionandStopDataCollectionoperations.
-
-
-
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
StartDataCollectionandStopDataCollectionoperations. 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 theStartDataCollectionandStopDataCollectionoperations. 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
StartDataCollectionandStopDataCollectionoperations. 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
StartDataCollectionandStopDataCollectionoperations. 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
StartDataCollectionandStopDataCollectionoperations. 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 theStartDataCollectionandStopDataCollectionoperations. 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
StartDataCollectionandStopDataCollectionoperations. 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
StartDataCollectionandStopDataCollectionoperations. 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AgentConfigurationStatus clone()
-
-