Interface KeyGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<KeyGroup.Builder,KeyGroup>, SdkBuilder<KeyGroup.Builder,KeyGroup>, SdkPojo
Enclosing class:
KeyGroup

public static interface KeyGroup.Builder extends SdkPojo, CopyableBuilder<KeyGroup.Builder,KeyGroup>
  • Method Details

    • id

      The identifier for the key group.

      Parameters:
      id - The identifier for the key group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      KeyGroup.Builder lastModifiedTime(Instant lastModifiedTime)

      The date and time when the key group was last modified.

      Parameters:
      lastModifiedTime - The date and time when the key group was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyGroupConfig

      KeyGroup.Builder keyGroupConfig(KeyGroupConfig keyGroupConfig)

      The key group configuration.

      Parameters:
      keyGroupConfig - The key group configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyGroupConfig

      default KeyGroup.Builder keyGroupConfig(Consumer<KeyGroupConfig.Builder> keyGroupConfig)

      The key group configuration.

      This is a convenience method that creates an instance of the KeyGroupConfig.Builder avoiding the need to create one manually via KeyGroupConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to keyGroupConfig(KeyGroupConfig).

      Parameters:
      keyGroupConfig - a consumer that will call methods on KeyGroupConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: