Interface AddKeys.Builder

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

@Mutable @NotThreadSafe public static interface AddKeys.Builder extends SdkPojo, CopyableBuilder<AddKeys.Builder,AddKeys>
  • Method Details

    • entries

      An array of objects, where each object contains the information about one key to add to the log event.

      Parameters:
      entries - An array of objects, where each object contains the information about one key to add to the log event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      AddKeys.Builder entries(AddKeyEntry... entries)

      An array of objects, where each object contains the information about one key to add to the log event.

      Parameters:
      entries - An array of objects, where each object contains the information about one key to add to the log event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      An array of objects, where each object contains the information about one key to add to the log event.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entries(List<AddKeyEntry>).

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