Class CreateAccessKeyResult
- java.lang.Object
-
- com.amazonaws.services.identitymanagement.model.CreateAccessKeyResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateAccessKeyResult extends Object implements Serializable, Cloneable
Contains the response to a successful CreateAccessKey request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateAccessKeyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setAccessKey
public void setAccessKey(AccessKey accessKey)
A structure with details about the access key.
- Parameters:
accessKey
- A structure with details about the access key.
-
getAccessKey
public AccessKey getAccessKey()
A structure with details about the access key.
- Returns:
- A structure with details about the access key.
-
withAccessKey
public CreateAccessKeyResult withAccessKey(AccessKey accessKey)
A structure with details about the access key.
- Parameters:
accessKey
- A structure with details about the access key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAccessKeyResult clone()
-
-