public static interface StructValue.Builder extends SdkPojo, CopyableBuilder<StructValue.Builder,StructValue>
| Modifier and Type | Method and Description |
|---|---|
StructValue.Builder |
attributes(Collection<Value> attributes)
The attributes returned in the record.
|
StructValue.Builder |
attributes(Consumer<Value.Builder>... attributes)
The attributes returned in the record.
|
StructValue.Builder |
attributes(Value... attributes)
The attributes returned in the record.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStructValue.Builder attributes(Collection<Value> attributes)
The attributes returned in the record.
attributes - The attributes returned in the record.StructValue.Builder attributes(Value... attributes)
The attributes returned in the record.
attributes - The attributes returned in the record.StructValue.Builder attributes(Consumer<Value.Builder>... attributes)
The attributes returned in the record.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #attributes(List) .attributes - a consumer that will call methods on List.Builder #attributes(List) Copyright © 2021. All rights reserved.