@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentListEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents a single entry in a list of agents. AgentListEntry returns an array that contains a list of
agents when the ListAgents operation is called.
| Constructor and Description |
|---|
AgentListEntry() |
| Modifier and Type | Method and Description |
|---|---|
AgentListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAgentArn()
The Amazon Resource Name (ARN) of the agent.
|
String |
getName()
The name of the agent.
|
String |
getStatus()
The status of the agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
|
void |
setName(String name)
The name of the agent.
|
void |
setStatus(String status)
The status of the agent.
|
String |
toString()
Returns a string representation of this object.
|
AgentListEntry |
withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
|
AgentListEntry |
withName(String name)
The name of the agent.
|
AgentListEntry |
withStatus(AgentStatus status)
The status of the agent.
|
AgentListEntry |
withStatus(String status)
The status of the agent.
|
public void setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
agentArn - The Amazon Resource Name (ARN) of the agent.public String getAgentArn()
The Amazon Resource Name (ARN) of the agent.
public AgentListEntry withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
agentArn - The Amazon Resource Name (ARN) of the agent.public void setName(String name)
The name of the agent.
name - The name of the agent.public String getName()
The name of the agent.
public AgentListEntry withName(String name)
The name of the agent.
name - The name of the agent.public void setStatus(String status)
The status of the agent.
status - The status of the agent.AgentStatuspublic String getStatus()
The status of the agent.
AgentStatuspublic AgentListEntry withStatus(String status)
The status of the agent.
status - The status of the agent.AgentStatuspublic AgentListEntry withStatus(AgentStatus status)
The status of the agent.
status - The status of the agent.AgentStatuspublic String toString()
toString in class ObjectObject.toString()public AgentListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.