Class PublicKeyConfig
java.lang.Object
software.amazon.awssdk.services.cloudfront.model.PublicKeyConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PublicKeyConfig.Builder,PublicKeyConfig>
@Generated("software.amazon.awssdk:codegen")
public final class PublicKeyConfig
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<PublicKeyConfig.Builder,PublicKeyConfig>
Configuration information about 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 PublicKeyConfig.Builderbuilder()final StringA string included in the request to help make sure that the request can't be replayed.final Stringcomment()A comment to describe the public key.final StringThe public key that you can use with signed URLs and signed cookies, or with field-level encryption.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()A name to help identify the public key.static Class<? extends PublicKeyConfig.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
-
callerReference
A string included in the request to help make sure that the request can't be replayed.
- Returns:
- A string included in the request to help make sure that the request can't be replayed.
-
name
A name to help identify the public key.
- Returns:
- A name to help identify the public key.
-
encodedKey
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
- Returns:
- The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublicKeyConfig.Builder,PublicKeyConfig>
-
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
-