Interface MoveKeys.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MoveKeys.Builder,
,MoveKeys> SdkBuilder<MoveKeys.Builder,
,MoveKeys> SdkPojo
- Enclosing class:
MoveKeys
@Mutable
@NotThreadSafe
public static interface MoveKeys.Builder
extends SdkPojo, CopyableBuilder<MoveKeys.Builder,MoveKeys>
-
Method Summary
Modifier and TypeMethodDescriptionentries
(Collection<MoveKeyEntry> entries) An array of objects, where each object contains the information about one key to move.entries
(Consumer<MoveKeyEntry.Builder>... entries) An array of objects, where each object contains the information about one key to move.entries
(MoveKeyEntry... entries) An array of objects, where each object contains the information about one key to move.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 objects, where each object contains the information about one key to move.
- Parameters:
entries
- An array of objects, where each object contains the information about one key to move.- 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 move.
- Parameters:
entries
- An array of objects, where each object contains the information about one key to move.- 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 move.
This is a convenience method that creates an instance of theMoveKeyEntry.Builder
avoiding the need to create one manually viaMoveKeyEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentries(List<MoveKeyEntry>)
.- Parameters:
entries
- a consumer that will call methods onMoveKeyEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-