@Generated(value="software.amazon.awssdk:codegen") public final class PublicKeySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PublicKeySummary.Builder,PublicKeySummary>
Contains information about a public key.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PublicKeySummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PublicKeySummary.Builder |
builder() |
String |
comment()
A comment to describe the public key.
|
Instant |
createdTime()
The date and time when the public key was uploaded.
|
String |
encodedKey()
The public key.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the public key.
|
String |
name()
A name to help identify the public key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PublicKeySummary.Builder> |
serializableBuilderClass() |
PublicKeySummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the public key.
public final String name()
A name to help identify the public key.
public final Instant createdTime()
The date and time when the public key was uploaded.
public final String encodedKey()
The public key.
public final String comment()
A comment to describe the public key. The comment cannot be longer than 128 characters.
public PublicKeySummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PublicKeySummary.Builder,PublicKeySummary>public static PublicKeySummary.Builder builder()
public static Class<? extends PublicKeySummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.