Package com.amazonaws.services.ec2.model
Class ImportKeyPairResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ImportKeyPairResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ImportKeyPairResult extends Object implements Serializable, Cloneable
Contains the output of ImportKeyPair.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportKeyPairResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportKeyPairResult
clone()
boolean
equals(Object obj)
String
getKeyFingerprint()
The MD5 public key fingerprint as specified in section 4 of RFC 4716.String
getKeyName()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ImportKeyPairResult
withKeyFingerprint(String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.ImportKeyPairResult
withKeyName(String keyName)
The key pair name you provided.
-
-
-
Method Detail
-
setKeyName
public void setKeyName(String keyName)
The key pair name you provided.
- Parameters:
keyName
- The key pair name you provided.
-
getKeyName
public String getKeyName()
The key pair name you provided.
- Returns:
- The key pair name you provided.
-
withKeyName
public ImportKeyPairResult withKeyName(String keyName)
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
public void setKeyFingerprint(String keyFingerprint)
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
public String 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
public ImportKeyPairResult withKeyFingerprint(String keyFingerprint)
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
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 ImportKeyPairResult clone()
-
-