Class KeyGroup
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.KeyGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KeyGroup.Builder,KeyGroup>
@Generated("software.amazon.awssdk:codegen") public final class KeyGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KeyGroup.Builder,KeyGroup>
A key group.
A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKeyGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyGroup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier for the key group.KeyGroupConfigkeyGroupConfig()The key group configuration.InstantlastModifiedTime()The date and time when the key group was last modified.List<SdkField<?>>sdkFields()static Class<? extends KeyGroup.Builder>serializableBuilderClass()KeyGroup.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 for the key group.
- Returns:
- The identifier for the key group.
-
lastModifiedTime
public final Instant lastModifiedTime()
The date and time when the key group was last modified.
- Returns:
- The date and time when the key group was last modified.
-
keyGroupConfig
public final KeyGroupConfig keyGroupConfig()
The key group configuration.
- Returns:
- The key group configuration.
-
toBuilder
public KeyGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KeyGroup.Builder,KeyGroup>
-
builder
public static KeyGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends KeyGroup.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.
-
-