Interface RenameKeys.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RenameKeys.Builder,
,RenameKeys> SdkBuilder<RenameKeys.Builder,
,RenameKeys> SdkPojo
- Enclosing class:
RenameKeys
@Mutable
@NotThreadSafe
public static interface RenameKeys.Builder
extends SdkPojo, CopyableBuilder<RenameKeys.Builder,RenameKeys>
-
Method Summary
Modifier and TypeMethodDescriptionentries
(Collection<RenameKeyEntry> entries) An array ofRenameKeyEntry
objects, where each object contains the information about a single key to rename.entries
(Consumer<RenameKeyEntry.Builder>... entries) An array ofRenameKeyEntry
objects, where each object contains the information about a single key to rename.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 Details
-
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
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
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 toentries(List<RenameKeyEntry>)
.- 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:
-