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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DatasetLabelDescription.BuilderlabelName(String labelName)The name of the label.default DatasetLabelDescription.BuilderlabelStats(Consumer<DatasetLabelStats.Builder> labelStats)Statistics about the label.DatasetLabelDescription.BuilderlabelStats(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
labelName
DatasetLabelDescription.Builder labelName(String 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
DatasetLabelDescription.Builder labelStats(DatasetLabelStats 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
default DatasetLabelDescription.Builder labelStats(Consumer<DatasetLabelStats.Builder> 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:
labelStats(DatasetLabelStats)
-
-