public class CreateAccessKeyResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a successful CreateAccessKey request.
Modifier and Type | Field and Description |
---|---|
private AccessKey |
accessKey
A structure with details about the access key.
|
Constructor and Description |
---|
CreateAccessKeyResult() |
Modifier and Type | Method and Description |
---|---|
CreateAccessKeyResult |
clone() |
boolean |
equals(java.lang.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.
|
java.lang.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.
|
private AccessKey accessKey
A structure with details about the access key.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateAccessKeyResult clone()
clone
in class java.lang.Object