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 CreateAccessKeyResultclone()booleanequals(Object obj)AccessKeygetAccessKey()A structure with details about the access key.inthashCode()voidsetAccessKey(AccessKey accessKey)A structure with details about the access key.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateAccessKeyResultwithAccessKey(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAccessKeyResult clone()
-
-