com.amazonaws.services.ec2.model
Class ImportKeyPairResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ImportKeyPairResult
All Implemented Interfaces:
Serializable

public class ImportKeyPairResult
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ImportKeyPairResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportKeyPairResult

public ImportKeyPairResult()
Method Detail

getKeyName

public String getKeyName()
The key pair name you provided.

Returns:
The key pair name you provided.

setKeyName

public void setKeyName(String keyName)
The key pair name you provided.

Parameters:
keyName - The key pair name you provided.

withKeyName

public ImportKeyPairResult withKeyName(String keyName)
The key pair name you provided.

Returns a reference to this object so that method calls can be chained together.

Parameters:
keyName - The key pair name you provided.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withKeyFingerprint

public ImportKeyPairResult withKeyFingerprint(String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.

Returns a reference to this object so that method calls can be chained together.

Parameters:
keyFingerprint - The MD5 public key fingerprint as specified in section 4 of RFC 4716.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.