@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportKeyPairResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ImportKeyPairResult() |
Modifier and Type | Method and Description |
---|---|
ImportKeyPairResult |
clone() |
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 that you provided.
|
String |
getKeyPairId()
The ID of the resulting key pair.
|
List<Tag> |
getTags()
The tags applied to the imported key pair.
|
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 that you provided.
|
void |
setKeyPairId(String keyPairId)
The ID of the resulting key pair.
|
void |
setTags(Collection<Tag> tags)
The tags applied to the imported key pair.
|
String |
toString()
Returns a string representation of this object.
|
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 that you provided.
|
ImportKeyPairResult |
withKeyPairId(String keyPairId)
The ID of the resulting key pair.
|
ImportKeyPairResult |
withTags(Collection<Tag> tags)
The tags applied to the imported key pair.
|
ImportKeyPairResult |
withTags(Tag... tags)
The tags applied to the imported key pair.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKeyFingerprint(String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC 4716.public String getKeyFingerprint()
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
public ImportKeyPairResult withKeyFingerprint(String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC 4716.public void setKeyName(String keyName)
The key pair name that you provided.
keyName
- The key pair name that you provided.public String getKeyName()
The key pair name that you provided.
public ImportKeyPairResult withKeyName(String keyName)
The key pair name that you provided.
keyName
- The key pair name that you provided.public void setKeyPairId(String keyPairId)
The ID of the resulting key pair.
keyPairId
- The ID of the resulting key pair.public String getKeyPairId()
The ID of the resulting key pair.
public ImportKeyPairResult withKeyPairId(String keyPairId)
The ID of the resulting key pair.
keyPairId
- The ID of the resulting key pair.public List<Tag> getTags()
The tags applied to the imported key pair.
public void setTags(Collection<Tag> tags)
The tags applied to the imported key pair.
tags
- The tags applied to the imported key pair.public ImportKeyPairResult withTags(Tag... tags)
The tags applied to the imported key pair.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags applied to the imported key pair.public ImportKeyPairResult withTags(Collection<Tag> tags)
The tags applied to the imported key pair.
tags
- The tags applied to the imported key pair.public String toString()
toString
in class Object
Object.toString()
public ImportKeyPairResult clone()
Copyright © 2022. All rights reserved.