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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePublicKeyConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKeyConfig.Builderbuilder()StringcallerReference()A string included in the request to help make sure that the request can't be replayed.Stringcomment()A comment to describe the public key.StringencodedKey()The public key that you can use with signed URLs and signed cookies, or with field-level encryption.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()A name to help identify the public key.List<SdkField<?>>sdkFields()static Class<? extends PublicKeyConfig.Builder>serializableBuilderClass()PublicKeyConfig.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
-
callerReference
public final String 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
public final String name()
A name to help identify the public key.
- Returns:
- A name to help identify the public key.
-
encodedKey
public final String 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
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 PublicKeyConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublicKeyConfig.Builder,PublicKeyConfig>
-
builder
public static PublicKeyConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends PublicKeyConfig.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.
-
-