Class PublicKey
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.PublicKey
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PublicKey.Builder,PublicKey>
@Generated("software.amazon.awssdk:codegen") public final class PublicKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PublicKey.Builder,PublicKey>
A public key that you can use with signed URLs and signed cookies, or with field-level encryption.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePublicKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKey.Builderbuilder()InstantcreatedTime()The date and time when the public key was uploaded.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the public key.PublicKeyConfigpublicKeyConfig()Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PublicKey.Builder>serializableBuilderClass()PublicKey.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.
-
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.
-
publicKeyConfig
public final PublicKeyConfig publicKeyConfig()
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
- Returns:
- Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
-
toBuilder
public PublicKey.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublicKey.Builder,PublicKey>
-
builder
public static PublicKey.Builder builder()
-
serializableBuilderClass
public static Class<? extends PublicKey.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
-
-