@Generated(value="software.amazon.awssdk:codegen") public final class SshPublicKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SshPublicKey.Builder,SshPublicKey>
Provides information about the public Secure Shell (SSH) key that is associated with a user account for the specific
file transfer protocol-enabled server (as identified by ServerId). The information returned includes the
date the key was imported, the public key contents, and the public key ID. A user can store more than one SSH public
key associated with their user name on a specific server.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SshPublicKey.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SshPublicKey.Builder |
builder() |
Instant |
dateImported()
Specifies the date that the public key was added to the user account.
|
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 SshPublicKey.Builder> |
serializableBuilderClass() |
String |
sshPublicKeyBody()
Specifies the content of the SSH public key as specified by the
PublicKeyId. |
String |
sshPublicKeyId()
Specifies the
SshPublicKeyId parameter contains the identifier of the public key. |
SshPublicKey.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Instant dateImported()
Specifies the date that the public key was added to the user account.
public String sshPublicKeyBody()
Specifies the content of the SSH public key as specified by the PublicKeyId.
PublicKeyId.public String sshPublicKeyId()
Specifies the SshPublicKeyId parameter contains the identifier of the public key.
SshPublicKeyId parameter contains the identifier of the public key.public SshPublicKey.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SshPublicKey.Builder,SshPublicKey>public static SshPublicKey.Builder builder()
public static Class<? extends SshPublicKey.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.