@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 Transfer Family user 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 Transfer Family user.
|
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 final Instant dateImported()
Specifies the date that the public key was added to the Transfer Family user.
public final String sshPublicKeyBody()
Specifies the content of the SSH public key as specified by the PublicKeyId.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
PublicKeyId.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.