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