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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StructValue.Builderattributes(Collection<Value> attributes)The attributes returned in the record.StructValue.Builderattributes(Consumer<Value.Builder>... attributes)The attributes returned in the record.StructValue.Builderattributes(Value... attributes)The attributes returned in the record.-
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, sdkFields
-
-
-
-
Method Detail
-
attributes
StructValue.Builder attributes(Collection<Value> 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
StructValue.Builder attributes(Value... 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
StructValue.Builder attributes(Consumer<Value.Builder>... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-