Interface DatasetLabelDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetLabelDescription.Builder,
,DatasetLabelDescription> SdkBuilder<DatasetLabelDescription.Builder,
,DatasetLabelDescription> SdkPojo
- Enclosing class:
DatasetLabelDescription
public static interface DatasetLabelDescription.Builder
extends SdkPojo, CopyableBuilder<DatasetLabelDescription.Builder,DatasetLabelDescription>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the label.default DatasetLabelDescription.Builder
labelStats
(Consumer<DatasetLabelStats.Builder> labelStats) Statistics about the label.labelStats
(DatasetLabelStats labelStats) Statistics about the label.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 Details
-
labelName
The name of the label.
- Parameters:
labelName
- The name of the label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelStats
Statistics about the label.
- Parameters:
labelStats
- Statistics about the label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelStats
Statistics about the label.
This is a convenience method that creates an instance of theDatasetLabelStats.Builder
avoiding the need to create one manually viaDatasetLabelStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabelStats(DatasetLabelStats)
.- Parameters:
labelStats
- a consumer that will call methods onDatasetLabelStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-