Interface Datum.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Datum.Builder,Datum>,SdkBuilder<Datum.Builder,Datum>,SdkPojo
- Enclosing class:
- Datum
public static interface Datum.Builder extends SdkPojo, CopyableBuilder<Datum.Builder,Datum>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Datum.BuilderarrayValue(Collection<Datum> arrayValue)Indicates if the data point is an array.Datum.BuilderarrayValue(Consumer<Datum.Builder>... arrayValue)Indicates if the data point is an array.Datum.BuilderarrayValue(Datum... arrayValue)Indicates if the data point is an array.Datum.BuildernullValue(Boolean nullValue)Indicates if the data point is null.default Datum.BuilderrowValue(Consumer<Row.Builder> rowValue)Indicates if the data point is a row.Datum.BuilderrowValue(Row rowValue)Indicates if the data point is a row.Datum.BuilderscalarValue(String scalarValue)Indicates if the data point is a scalar value such as integer, string, double, or Boolean.-
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
-
scalarValue
Datum.Builder scalarValue(String scalarValue)
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
- Parameters:
scalarValue- Indicates if the data point is a scalar value such as integer, string, double, or Boolean.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arrayValue
Datum.Builder arrayValue(Collection<Datum> arrayValue)
Indicates if the data point is an array.
- Parameters:
arrayValue- Indicates if the data point is an array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arrayValue
Datum.Builder arrayValue(Datum... arrayValue)
Indicates if the data point is an array.
- Parameters:
arrayValue- Indicates if the data point is an array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arrayValue
Datum.Builder arrayValue(Consumer<Datum.Builder>... arrayValue)
Indicates if the data point is an array.
This is a convenience method that creates an instance of theDatum.Builderavoiding the need to create one manually viaDatum.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#arrayValue(List.) - Parameters:
arrayValue- a consumer that will call methods onDatum.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#arrayValue(java.util.Collection)
-
rowValue
Datum.Builder rowValue(Row rowValue)
Indicates if the data point is a row.
- Parameters:
rowValue- Indicates if the data point is a row.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rowValue
default Datum.Builder rowValue(Consumer<Row.Builder> rowValue)
Indicates if the data point is a row.
This is a convenience method that creates an instance of theRow.Builderavoiding the need to create one manually viaRow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torowValue(Row).- Parameters:
rowValue- a consumer that will call methods onRow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rowValue(Row)
-
nullValue
Datum.Builder nullValue(Boolean nullValue)
Indicates if the data point is null.
- Parameters:
nullValue- Indicates if the data point is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-