Package com.amazonaws.services.ec2.model
Class ImportKeyPairResult
java.lang.Object
com.amazonaws.services.ec2.model.ImportKeyPairResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of ImportKeyPair.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The MD5 public key fingerprint as specified in section 4 of RFC 4716.The key pair name you provided.int
hashCode()
void
setKeyFingerprint
(String keyFingerprint) The MD5 public key fingerprint as specified in section 4 of RFC 4716.void
setKeyName
(String keyName) The key pair name you provided.toString()
Returns a string representation of this object; useful for testing and debugging.withKeyFingerprint
(String keyFingerprint) The MD5 public key fingerprint as specified in section 4 of RFC 4716.withKeyName
(String keyName) The key pair name you provided.
-
Constructor Details
-
ImportKeyPairResult
public ImportKeyPairResult()
-
-
Method Details
-
setKeyName
The key pair name you provided.
- Parameters:
keyName
- The key pair name you provided.
-
getKeyName
The key pair name you provided.
- Returns:
- The key pair name you provided.
-
withKeyName
The key pair name you provided.
- Parameters:
keyName
- The key pair name you provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKeyFingerprint
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
- Parameters:
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC 4716.
-
getKeyFingerprint
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
- Returns:
- The MD5 public key fingerprint as specified in section 4 of RFC 4716.
-
withKeyFingerprint
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
- Parameters:
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC 4716.- 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
-