@Generated(value="software.amazon.awssdk:codegen") public final class ImportSshPublicKeyResponse extends TransferResponse implements ToCopyableBuilder<ImportSshPublicKeyResponse.Builder,ImportSshPublicKeyResponse>
Identifies the user, the server they belong to, and the identifier of the SSH public key associated with that user. A user can have more than one key on each server that they are associated with.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportSshPublicKeyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImportSshPublicKeyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImportSshPublicKeyResponse.Builder> |
serializableBuilderClass() |
String |
serverId()
A system-assigned unique identifier for a server.
|
String |
sshPublicKeyId()
The name given to a public key by the system that was imported.
|
ImportSshPublicKeyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
A user name assigned to the
ServerID value that you specified. |
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String serverId()
A system-assigned unique identifier for a server.
public String sshPublicKeyId()
The name given to a public key by the system that was imported.
public String userName()
A user name assigned to the ServerID value that you specified.
ServerID value that you specified.public ImportSshPublicKeyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImportSshPublicKeyResponse.Builder,ImportSshPublicKeyResponse>toBuilder in class AwsResponsepublic static ImportSshPublicKeyResponse.Builder builder()
public static Class<? extends ImportSshPublicKeyResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.