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:
  • Constructor Details

    • ImportKeyPairResult

      public ImportKeyPairResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ImportKeyPairResult clone()
      Overrides:
      clone in class Object