ToCopyableBuilder<SSHPublicKeyMetadata.Builder,SSHPublicKeyMetadata>
@Generated("software.amazon.awssdk:codegen") public class SSHPublicKeyMetadata extends Object implements ToCopyableBuilder<SSHPublicKeyMetadata.Builder,SSHPublicKeyMetadata>
Contains information about an SSH public key, without the key's body or fingerprint.
This data type is used as a response element in the ListSSHPublicKeys action.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SSHPublicKeyMetadata.Builder |
Modifier and Type | Method | Description |
---|---|---|
static SSHPublicKeyMetadata.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends SSHPublicKeyMetadata.Builder> |
serializableBuilderClass() |
|
String |
sshPublicKeyId() |
The unique identifier for the SSH public key.
|
String |
status() |
The status of the SSH public key.
|
SSHPublicKeyMetadata.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 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 SSHPublicKeyMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SSHPublicKeyMetadata.Builder,SSHPublicKeyMetadata>
public static SSHPublicKeyMetadata.Builder builder()
public static Class<? extends SSHPublicKeyMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.