@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAgentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateAgentResult() |
Modifier and Type | Method and Description |
---|---|
CreateAgentResult |
clone() |
boolean |
equals(Object obj) |
Agent |
getAgent()
Contains details about the agent created.
|
int |
hashCode() |
void |
setAgent(Agent agent)
Contains details about the agent created.
|
String |
toString()
Returns a string representation of this object.
|
CreateAgentResult |
withAgent(Agent agent)
Contains details about the agent created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAgent(Agent agent)
Contains details about the agent created.
agent
- Contains details about the agent created.public Agent getAgent()
Contains details about the agent created.
public CreateAgentResult withAgent(Agent agent)
Contains details about the agent created.
agent
- Contains details about the agent created.public String toString()
toString
in class Object
Object.toString()
public CreateAgentResult clone()