public class ImportKeyPairResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of ImportKeyPair.
Constructor and Description |
---|
ImportKeyPairResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getKeyName()
public void setKeyName(java.lang.String keyName)
keyName
- The key pair name you provided.public ImportKeyPairResult withKeyName(java.lang.String keyName)
Returns a reference to this object so that method calls can be chained together.
keyName
- The key pair name you provided.public java.lang.String getKeyFingerprint()
public void setKeyFingerprint(java.lang.String keyFingerprint)
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC 4716.public ImportKeyPairResult withKeyFingerprint(java.lang.String keyFingerprint)
Returns a reference to this object so that method calls can be chained together.
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC 4716.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.