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 ofCopyValueEntryobjects, where each object contains the information about one field value to copy.entries(Consumer<CopyValueEntry.Builder>... entries) An array ofCopyValueEntryobjects, where each object contains the information about one field value to copy.entries(CopyValueEntry... entries) An array ofCopyValueEntryobjects, where each object contains the information about one field value to copy.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
CopyValueEntryobjects, where each object contains the information about one field value to copy.- Parameters:
entries- An array ofCopyValueEntryobjects, 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
CopyValueEntryobjects, where each object contains the information about one field value to copy.- Parameters:
entries- An array ofCopyValueEntryobjects, 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 theCopyValueEntryobjects, where each object contains the information about one field value to copy.CopyValueEntry.Builderavoiding the need to create one manually viaCopyValueEntry.builder().When the
Consumercompletes,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:
-