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.
CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PublicKey.Builderbuilder()final InstantThe date and time when the public key was uploaded.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The identifier of the public key.final PublicKeyConfigConfiguration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.static Class<? extends PublicKey.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The identifier of the public key.
- Returns:
- The identifier of the public key.
-
createdTime
The date and time when the public key was uploaded.
- Returns:
- The date and time when the public key was uploaded.
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublicKey.Builder,PublicKey>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-