@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, setSdkResponseMetadata
public 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 AWS Region.
agentArn
- The Amazon Resource Name (ARN) of the agent. Use the ListAgents
operation to return a list of
agents for your account and AWS 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 AWS Region.
ListAgents
operation to return a list
of agents for your account and AWS 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 AWS Region.
agentArn
- The Amazon Resource Name (ARN) of the agent. Use the ListAgents
operation to return a list of
agents for your account and AWS Region.public String toString()
toString
in class Object
Object.toString()
public CreateAgentResult clone()