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 interface
PublicKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKey.Builder
builder()
Instant
createdTime()
The date and time when the public key was uploaded.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
The identifier of the public key.PublicKeyConfig
publicKeyConfig()
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.List<SdkField<?>>
sdkFields()
static Class<? extends PublicKey.Builder>
serializableBuilderClass()
PublicKey.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-