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 interfacePublicKeySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKeySummary.Builderbuilder()Stringcomment()A comment to describe the public key.InstantcreatedTime()The date and time when the public key was uploaded.StringencodedKey()The public key.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the public key.Stringname()A name to help identify the public key.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PublicKeySummary.Builder>serializableBuilderClass()PublicKeySummary.BuildertoBuilder()StringtoString()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-