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
Modifier and TypeMethodDescriptionentries(Collection<RenameKeyEntry> entries) An array ofRenameKeyEntryobjects, where each object contains the information about a single key to rename.entries(Consumer<RenameKeyEntry.Builder>... entries) An array ofRenameKeyEntryobjects, where each object contains the information about a single key to rename.entries(RenameKeyEntry... entries) An array ofRenameKeyEntryobjects, where each object contains the information about a single key to rename.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
entries
An array of
RenameKeyEntryobjects, where each object contains the information about a single key to rename.- Parameters:
entries- An array ofRenameKeyEntryobjects, 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
RenameKeyEntryobjects, where each object contains the information about a single key to rename.- Parameters:
entries- An array ofRenameKeyEntryobjects, 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 theRenameKeyEntryobjects, where each object contains the information about a single key to rename.RenameKeyEntry.Builderavoiding the need to create one manually viaRenameKeyEntry.builder().When the
Consumercompletes,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:
-