@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApiKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateApiKeyResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateApiKeyResult |
clone() |
boolean |
equals(Object obj) |
ApiKey |
getApiKey()
The API key.
|
int |
hashCode() |
void |
setApiKey(ApiKey apiKey)
The API key.
|
String |
toString()
Returns a string representation of this object.
|
CreateApiKeyResult |
withApiKey(ApiKey apiKey)
The API key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setApiKey(ApiKey apiKey)
The API key.
apiKey - The API key.public ApiKey getApiKey()
The API key.
public CreateApiKeyResult withApiKey(ApiKey apiKey)
The API key.
apiKey - The API key.public String toString()
toString in class ObjectObject.toString()public CreateApiKeyResult clone()