@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccessKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a successful CreateAccessKey request.
Constructor and Description |
---|
CreateAccessKeyResult() |
Modifier and Type | Method and Description |
---|---|
CreateAccessKeyResult |
clone() |
boolean |
equals(Object obj) |
AccessKey |
getAccessKey()
A structure with details about the access key.
|
int |
hashCode() |
void |
setAccessKey(AccessKey accessKey)
A structure with details about the access key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateAccessKeyResult |
withAccessKey(AccessKey accessKey)
A structure with details about the access key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAccessKey(AccessKey accessKey)
A structure with details about the access key.
accessKey
- A structure with details about the access key.public AccessKey getAccessKey()
A structure with details about the access key.
public CreateAccessKeyResult withAccessKey(AccessKey accessKey)
A structure with details about the access key.
accessKey
- A structure with details about the access key.public String toString()
toString
in class Object
Object.toString()
public CreateAccessKeyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.