@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 a specific
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 SFTP server.
Modifier and Type | Class and Description |
---|---|
static interface |
SshPublicKey.Builder |
Modifier and Type | Method and Description |
---|---|
static SshPublicKey.Builder |
builder() |
Instant |
dateImported()
The date that the public key was added to the user account.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SshPublicKey.Builder> |
serializableBuilderClass() |
String |
sshPublicKeyBody()
The content of the SSH public key as specified by the
PublicKeyId . |
String |
sshPublicKeyId()
The
SshPublicKeyId parameter contains the identifier of the public key. |
SshPublicKey.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Instant dateImported()
The date that the public key was added to the user account.
public String sshPublicKeyBody()
The content of the SSH public key as specified by the PublicKeyId
.
PublicKeyId
.public String sshPublicKeyId()
The SshPublicKeyId
parameter contains the identifier of the public key.
SshPublicKeyId
parameter contains the identifier of the public key.public SshPublicKey.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SshPublicKey.Builder,SshPublicKey>
public static SshPublicKey.Builder builder()
public static Class<? extends SshPublicKey.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.