Interface LabelsInputConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LabelsInputConfiguration.Builder,
,LabelsInputConfiguration> SdkBuilder<LabelsInputConfiguration.Builder,
,LabelsInputConfiguration> SdkPojo
- Enclosing class:
LabelsInputConfiguration
public static interface LabelsInputConfiguration.Builder
extends SdkPojo, CopyableBuilder<LabelsInputConfiguration.Builder,LabelsInputConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionlabelGroupName
(String labelGroupName) The name of the label group to be used for label data.default LabelsInputConfiguration.Builder
s3InputConfiguration
(Consumer<LabelsS3InputConfiguration.Builder> s3InputConfiguration) Contains location information for the S3 location being used for label data.s3InputConfiguration
(LabelsS3InputConfiguration s3InputConfiguration) Contains location information for the S3 location being used for label data.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
-
s3InputConfiguration
LabelsInputConfiguration.Builder s3InputConfiguration(LabelsS3InputConfiguration s3InputConfiguration) Contains location information for the S3 location being used for label data.
- Parameters:
s3InputConfiguration
- Contains location information for the S3 location being used for label data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3InputConfiguration
default LabelsInputConfiguration.Builder s3InputConfiguration(Consumer<LabelsS3InputConfiguration.Builder> s3InputConfiguration) Contains location information for the S3 location being used for label data.
This is a convenience method that creates an instance of theLabelsS3InputConfiguration.Builder
avoiding the need to create one manually viaLabelsS3InputConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3InputConfiguration(LabelsS3InputConfiguration)
.- Parameters:
s3InputConfiguration
- a consumer that will call methods onLabelsS3InputConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labelGroupName
The name of the label group to be used for label data.
- Parameters:
labelGroupName
- The name of the label group to be used for label data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-