@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)
Marshalls this structured data using the given
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.AgentStatus
public String getStatus()
The status of the agent.
AgentStatus
public AgentListEntry withStatus(String status)
The status of the agent.
status
- The status of the agent.AgentStatus
public AgentListEntry withStatus(AgentStatus status)
The status of the agent.
status
- The status of the agent.AgentStatus
public String toString()
toString
in class Object
Object.toString()
public AgentListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.