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:
  • Method Details

    • 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:
      toBuilder in interface ToCopyableBuilder<KeyGroup.Builder,KeyGroup>
    • builder

      public static KeyGroup.Builder builder()
    • serializableBuilderClass

      public static Class<? extends KeyGroup.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo