Interface Spigot.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Spigot.Builder,Spigot>
,SdkBuilder<Spigot.Builder,Spigot>
,SdkPojo
- Enclosing class:
- Spigot
public static interface Spigot.Builder extends SdkPojo, CopyableBuilder<Spigot.Builder,Spigot>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Spigot.Builder
inputs(String... inputs)
The data inputs identified by their node names.Spigot.Builder
inputs(Collection<String> inputs)
The data inputs identified by their node names.Spigot.Builder
name(String name)
The name of the transform node.Spigot.Builder
path(String path)
A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.Spigot.Builder
prob(Double prob)
The probability (a decimal value with a maximum value of 1) of picking any given record.Spigot.Builder
topk(Integer topk)
Specifies a number of records to write starting from the beginning of the dataset.-
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
-
name
Spigot.Builder name(String name)
The name of the transform node.
- Parameters:
name
- The name of the transform node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
Spigot.Builder inputs(Collection<String> inputs)
The data inputs identified by their node names.
- Parameters:
inputs
- The data inputs identified by their node names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
Spigot.Builder inputs(String... inputs)
The data inputs identified by their node names.
- Parameters:
inputs
- The data inputs identified by their node names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
Spigot.Builder path(String path)
A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.
- Parameters:
path
- A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topk
Spigot.Builder topk(Integer topk)
Specifies a number of records to write starting from the beginning of the dataset.
- Parameters:
topk
- Specifies a number of records to write starting from the beginning of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prob
Spigot.Builder prob(Double prob)
The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.
- Parameters:
prob
- The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-