Class PublicKeySummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.PublicKeySummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PublicKeySummary.Builder,PublicKeySummary>
@Generated("software.amazon.awssdk:codegen") public final class PublicKeySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PublicKeySummary.Builder,PublicKeySummary>
Contains information about a public key.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PublicKeySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The identifier of the public key.
- Returns:
- The identifier of the public key.
-
name
public final String name()
A name to help identify the public key.
- Returns:
- A name to help identify the public key.
-
createdTime
public final Instant createdTime()
The date and time when the public key was uploaded.
- Returns:
- The date and time when the public key was uploaded.
-
encodedKey
public final String encodedKey()
The public key.
- Returns:
- The public key.
-
comment
public final String comment()
A comment to describe the public key. The comment cannot be longer than 128 characters.
- Returns:
- A comment to describe the public key. The comment cannot be longer than 128 characters.
-
toBuilder
public PublicKeySummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PublicKeySummary.Builder,PublicKeySummary>
-
builder
public static PublicKeySummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends PublicKeySummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-