Interface RenameKeys.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RenameKeys.Builder,RenameKeys>
,SdkBuilder<RenameKeys.Builder,RenameKeys>
,SdkPojo
- Enclosing class:
- RenameKeys
public static interface RenameKeys.Builder extends SdkPojo, CopyableBuilder<RenameKeys.Builder,RenameKeys>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RenameKeys.Builder
entries(Collection<RenameKeyEntry> entries)
An array ofRenameKeyEntry
objects, where each object contains the information about a single key to rename.RenameKeys.Builder
entries(Consumer<RenameKeyEntry.Builder>... entries)
An array ofRenameKeyEntry
objects, where each object contains the information about a single key to rename.RenameKeys.Builder
entries(RenameKeyEntry... entries)
An array ofRenameKeyEntry
objects, where each object contains the information about a single key to rename.-
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
RenameKeys.Builder entries(Collection<RenameKeyEntry> entries)
An array of
RenameKeyEntry
objects, where each object contains the information about a single key to rename.- Parameters:
entries
- An array ofRenameKeyEntry
objects, where each object contains the information about a single key to rename.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
RenameKeys.Builder entries(RenameKeyEntry... entries)
An array of
RenameKeyEntry
objects, where each object contains the information about a single key to rename.- Parameters:
entries
- An array ofRenameKeyEntry
objects, where each object contains the information about a single key to rename.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
RenameKeys.Builder entries(Consumer<RenameKeyEntry.Builder>... entries)
An array of
This is a convenience method that creates an instance of theRenameKeyEntry
objects, where each object contains the information about a single key to rename.RenameKeyEntry.Builder
avoiding the need to create one manually viaRenameKeyEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#entries(List
.) - Parameters:
entries
- a consumer that will call methods onRenameKeyEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entries(java.util.Collection
)
-
-