public static class AlgorithmBucketStep.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String method,
String label)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmBucketStep.Builder |
addFields(String fields)
Adds an fields to fields.
|
AlgorithmBucketStep.Builder |
addInputs(Long inputs)
Adds an inputs to inputs.
|
AlgorithmBucketStep |
build()
Builds a AlgorithmBucketStep.
|
AlgorithmBucketStep.Builder |
comparisonResource(String comparisonResource)
Set the comparisonResource.
|
AlgorithmBucketStep.Builder |
fields(List<String> fields)
Set the fields.
|
AlgorithmBucketStep.Builder |
inputs(List<Long> inputs)
Set the inputs.
|
AlgorithmBucketStep.Builder |
label(String label)
Set the label.
|
AlgorithmBucketStep.Builder |
mapResource(String mapResource)
Set the mapResource.
|
AlgorithmBucketStep.Builder |
method(String method)
Set the method.
|
AlgorithmBucketStep.Builder |
order(Boolean order)
Set the order.
|
AlgorithmBucketStep.Builder |
setResource(String setResource)
Set the setResource.
|
public AlgorithmBucketStep build()
public AlgorithmBucketStep.Builder addInputs(Long inputs)
inputs
- the new inputspublic AlgorithmBucketStep.Builder addFields(String fields)
fields
- the new fieldspublic AlgorithmBucketStep.Builder order(Boolean order)
order
- the orderpublic AlgorithmBucketStep.Builder comparisonResource(String comparisonResource)
comparisonResource
- the comparisonResourcepublic AlgorithmBucketStep.Builder setResource(String setResource)
setResource
- the setResourcepublic AlgorithmBucketStep.Builder mapResource(String mapResource)
mapResource
- the mapResourcepublic AlgorithmBucketStep.Builder inputs(List<Long> inputs)
inputs
- the inputspublic AlgorithmBucketStep.Builder method(String method)
method
- the methodpublic AlgorithmBucketStep.Builder fields(List<String> fields)
fields
- the fieldspublic AlgorithmBucketStep.Builder label(String label)
label
- the labelCopyright © 2021 IBM Cloud. All rights reserved.