Package com.amazonaws.services.ec2.model
Class CreateKeyPairResult
java.lang.Object
com.amazonaws.services.ec2.model.CreateKeyPairResult
- All Implemented Interfaces:
Serializable
,Cloneable
A simple result wrapper around the KeyPair object that was sent over the
wire.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Describes a key pair.int
hashCode()
void
setKeyPair
(KeyPair keyPair) Describes a key pair.toString()
Returns a string representation of this object; useful for testing and debugging.withKeyPair
(KeyPair keyPair) Describes a key pair.
-
Constructor Details
-
CreateKeyPairResult
public CreateKeyPairResult()
-
-
Method Details
-
setKeyPair
Describes a key pair.
- Parameters:
keyPair
- Describes a key pair.
-
getKeyPair
Describes a key pair.
- Returns:
- Describes a key pair.
-
withKeyPair
Describes a key pair.
- Parameters:
keyPair
- Describes a key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-