Interface Record.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Record.Builder,,Record> SdkBuilder<Record.Builder,,Record> SdkPojo
- Enclosing class:
Record
@Mutable
@NotThreadSafe
public static interface Record.Builder
extends SdkPojo, CopyableBuilder<Record.Builder,Record>
-
Method Summary
Modifier and TypeMethodDescriptionvalues(Collection<Value> values) The values returned in the record.values(Consumer<Value.Builder>... values) The values returned in the record.The values returned in the record.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
-
values
The values returned in the record.
- Parameters:
values- The values returned in the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The values returned in the record.
- Parameters:
values- The values returned in the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The values returned in the record.
This is a convenience method that creates an instance of theValue.Builderavoiding the need to create one manually viaValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalues(List<Value>).- Parameters:
values- a consumer that will call methods onValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-