Interface StructValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StructValue.Builder,,StructValue> SdkBuilder<StructValue.Builder,,StructValue> SdkPojo
- Enclosing class:
StructValue
public static interface StructValue.Builder
extends SdkPojo, CopyableBuilder<StructValue.Builder,StructValue>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<Value> attributes) The attributes returned in the record.attributes(Consumer<Value.Builder>... attributes) The attributes returned in the record.attributes(Value... attributes) The attributes 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, sdkFields
-
Method Details
-
attributes
The attributes returned in the record.
- Parameters:
attributes- The attributes returned in the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes returned in the record.
- Parameters:
attributes- The attributes returned in the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes 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 toattributes(List<Value>).- Parameters:
attributes- 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:
-