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 ImportKeyPairResultclone()booleanequals(Object obj)StringgetKeyFingerprint()The MD5 public key fingerprint as specified in section 4 of RFC 4716.StringgetKeyName()The key pair name you provided.inthashCode()voidsetKeyFingerprint(String keyFingerprint)The MD5 public key fingerprint as specified in section 4 of RFC 4716.voidsetKeyName(String keyName)The key pair name you provided.StringtoString()Returns a string representation of this object; useful for testing and debugging.ImportKeyPairResultwithKeyFingerprint(String keyFingerprint)The MD5 public key fingerprint as specified in section 4 of RFC 4716.ImportKeyPairResultwithKeyName(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ImportKeyPairResult clone()
-
-