Interface DatasetLabelDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetLabelDescription.Builder,,DatasetLabelDescription> SdkBuilder<DatasetLabelDescription.Builder,,DatasetLabelDescription> SdkPojo
- Enclosing class:
DatasetLabelDescription
@Mutable
@NotThreadSafe
public static interface DatasetLabelDescription.Builder
extends SdkPojo, CopyableBuilder<DatasetLabelDescription.Builder,DatasetLabelDescription>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the label.default DatasetLabelDescription.BuilderlabelStats(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaDatasetLabelStats.builder().When the
Consumercompletes,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:
-