ToCopyableBuilder<SSHPublicKey.Builder,SSHPublicKey>
@Generated("software.amazon.awssdk:codegen") public class SSHPublicKey extends Object implements ToCopyableBuilder<SSHPublicKey.Builder,SSHPublicKey>
Contains information about an SSH public key.
This data type is used as a response element in the GetSSHPublicKey and UploadSSHPublicKey actions.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SSHPublicKey.Builder |
Modifier and Type | Method | Description |
---|---|---|
static SSHPublicKey.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
fingerprint() |
The MD5 message digest of the SSH public key.
|
int |
hashCode() |
|
static Class<? extends SSHPublicKey.Builder> |
serializableBuilderClass() |
|
String |
sshPublicKeyBody() |
The SSH public key.
|
String |
sshPublicKeyId() |
The unique identifier for the SSH public key.
|
String |
status() |
The status of the SSH 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() |
|
Date |
uploadDate() |
The date and time, in ISO 8601 date-time format, when the SSH public
key was uploaded.
|
String |
userName() |
The name of the IAM user associated with the SSH public key.
|
public String userName()
The name of the IAM user associated with the SSH public key.
public String sshPublicKeyId()
The unique identifier for the SSH public key.
public String fingerprint()
The MD5 message digest of the SSH public key.
public String sshPublicKeyBody()
The SSH public key.
public String status()
The status of the SSH public key. Active
means the key can be used for authentication with an AWS
CodeCommit repository. Inactive
means the key cannot be used.
Active
means the key can be used for authentication with
an AWS CodeCommit repository. Inactive
means the key cannot be used.StatusType
public Date uploadDate()
The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.
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.