@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAgentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
CreateAgentResponse
| Constructor and Description |
|---|
CreateAgentResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateAgentResult |
clone() |
boolean |
equals(Object obj) |
String |
getAgentArn()
The Amazon Resource Name (ARN) of the agent.
|
int |
hashCode() |
void |
setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
|
String |
toString()
Returns a string representation of this object.
|
CreateAgentResult |
withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent. Use the ListAgents operation to return a list of agents
for your account and Amazon Web Services Region.
agentArn - The Amazon Resource Name (ARN) of the agent. Use the ListAgents operation to return a list of
agents for your account and Amazon Web Services Region.public String getAgentArn()
The Amazon Resource Name (ARN) of the agent. Use the ListAgents operation to return a list of agents
for your account and Amazon Web Services Region.
ListAgents operation to return a list
of agents for your account and Amazon Web Services Region.public CreateAgentResult withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent. Use the ListAgents operation to return a list of agents
for your account and Amazon Web Services Region.
agentArn - The Amazon Resource Name (ARN) of the agent. Use the ListAgents operation to return a list of
agents for your account and Amazon Web Services Region.public String toString()
toString in class ObjectObject.toString()public CreateAgentResult clone()