Interface AddKeys.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AddKeys.Builder,AddKeys>,SdkBuilder<AddKeys.Builder,AddKeys>,SdkPojo
- Enclosing class:
- AddKeys
public static interface AddKeys.Builder extends SdkPojo, CopyableBuilder<AddKeys.Builder,AddKeys>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddKeys.Builderentries(Collection<AddKeyEntry> entries)An array of objects, where each object contains the information about one key to add to the log event.AddKeys.Builderentries(Consumer<AddKeyEntry.Builder>... entries)An array of objects, where each object contains the information about one key to add to the log event.AddKeys.Builderentries(AddKeyEntry... entries)An array of objects, where each object contains the information about one key to add to the log event.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
entries
AddKeys.Builder entries(Collection<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
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
AddKeys.Builder entries(Consumer<AddKeyEntry.Builder>... 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 theAddKeyEntry.Builderavoiding the need to create one manually viaAddKeyEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entries(List.) - Parameters:
entries- a consumer that will call methods onAddKeyEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entries(java.util.Collection)
-
-