com.amazonaws.services.ec2.model
Class ImportKeyPairResult

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

public class ImportKeyPairResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ImportKeyPairResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKeyFingerprint()
          The MD5 public key fingerprint as specified in section 4 of RFC 4716.
 java.lang.String getKeyName()
          The key pair name you provided.
 int hashCode()
           
 void setKeyFingerprint(java.lang.String keyFingerprint)
          The MD5 public key fingerprint as specified in section 4 of RFC 4716.
 void setKeyName(java.lang.String keyName)
          The key pair name you provided.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ImportKeyPairResult withKeyFingerprint(java.lang.String keyFingerprint)
          The MD5 public key fingerprint as specified in section 4 of RFC 4716.
 ImportKeyPairResult withKeyName(java.lang.String keyName)
          The key pair name you provided.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportKeyPairResult

public ImportKeyPairResult()
Method Detail

getKeyName

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

Returns:
The key pair name you provided.

setKeyName

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

Parameters:
keyName - The key pair name you provided.

withKeyName

public ImportKeyPairResult withKeyName(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.