@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 (or array) of DataSync agents when you call the ListAgents operation.
| Constructor and Description |
|---|
AgentListEntry() |
| Modifier and Type | Method and Description |
|---|---|
AgentListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAgentArn()
The Amazon Resource Name (ARN) of a DataSync agent.
|
String |
getName()
The name of an agent.
|
String |
getStatus()
The status of an agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of a DataSync agent.
|
void |
setName(String name)
The name of an agent.
|
void |
setStatus(String status)
The status of an agent.
|
String |
toString()
Returns a string representation of this object.
|
AgentListEntry |
withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of a DataSync agent.
|
AgentListEntry |
withName(String name)
The name of an agent.
|
AgentListEntry |
withStatus(AgentStatus status)
The status of an agent.
|
AgentListEntry |
withStatus(String status)
The status of an agent.
|
public void setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of a DataSync agent.
agentArn - The Amazon Resource Name (ARN) of a DataSync agent.public String getAgentArn()
The Amazon Resource Name (ARN) of a DataSync agent.
public AgentListEntry withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of a DataSync agent.
agentArn - The Amazon Resource Name (ARN) of a DataSync agent.public void setName(String name)
The name of an agent.
name - The name of an agent.public String getName()
The name of an agent.
public AgentListEntry withName(String name)
The name of an agent.
name - The name of an agent.public void setStatus(String status)
The status of an agent. For more information, see DataSync agent statuses.
status - The status of an agent. For more information, see DataSync agent
statuses.AgentStatuspublic String getStatus()
The status of an agent. For more information, see DataSync agent statuses.
AgentStatuspublic AgentListEntry withStatus(String status)
The status of an agent. For more information, see DataSync agent statuses.
status - The status of an agent. For more information, see DataSync agent
statuses.AgentStatuspublic AgentListEntry withStatus(AgentStatus status)
The status of an agent. For more information, see DataSync agent statuses.
status - The status of an agent. For more information, see DataSync agent
statuses.AgentStatuspublic String toString()
toString in class ObjectObject.toString()public AgentListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.