@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 ARN of the agent that you just activated.
|
int |
hashCode() |
void |
setAgentArn(String agentArn)
The ARN of the agent that you just activated.
|
String |
toString()
Returns a string representation of this object.
|
CreateAgentResult |
withAgentArn(String agentArn)
The ARN of the agent that you just activated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAgentArn(String agentArn)
The ARN of the agent that you just activated. Use the ListAgents operation to return a list of agents in your Amazon Web Services account and Amazon Web Services Region.
agentArn - The ARN of the agent that you just activated. Use the ListAgents operation
to return a list of agents in your Amazon Web Services account and Amazon Web Services Region.public String getAgentArn()
The ARN of the agent that you just activated. Use the ListAgents operation to return a list of agents in your Amazon Web Services account and Amazon Web Services Region.
public CreateAgentResult withAgentArn(String agentArn)
The ARN of the agent that you just activated. Use the ListAgents operation to return a list of agents in your Amazon Web Services account and Amazon Web Services Region.
agentArn - The ARN of the agent that you just activated. Use the ListAgents operation
to return a list of agents in your Amazon Web Services account and Amazon Web Services Region.public String toString()
toString in class ObjectObject.toString()public CreateAgentResult clone()