Interface ListOutputVector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListOutputVector.Builder,
,ListOutputVector> SdkBuilder<ListOutputVector.Builder,
,ListOutputVector> SdkPojo
- Enclosing class:
ListOutputVector
@Mutable
@NotThreadSafe
public static interface ListOutputVector.Builder
extends SdkPojo, CopyableBuilder<ListOutputVector.Builder,ListOutputVector>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListOutputVector.Builder
data
(Consumer<VectorData.Builder> data) The vector data of the vector.data
(VectorData data) The vector data of the vector.The name of the vector.Metadata about the vector.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, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The name of the vector.
- Parameters:
key
- The name of the vector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The vector data of the vector.
- Parameters:
data
- The vector data of the vector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The vector data of the vector.
This is a convenience method that creates an instance of theVectorData.Builder
avoiding the need to create one manually viaVectorData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todata(VectorData)
.- Parameters:
data
- a consumer that will call methods onVectorData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
Metadata about the vector.
- Parameters:
metadata
- Metadata about the vector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-