Interface TrainingDataSchema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrainingDataSchema.Builder,
,TrainingDataSchema> SdkBuilder<TrainingDataSchema.Builder,
,TrainingDataSchema> SdkPojo
- Enclosing class:
TrainingDataSchema
public static interface TrainingDataSchema.Builder
extends SdkPojo, CopyableBuilder<TrainingDataSchema.Builder,TrainingDataSchema>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrainingDataSchema.Builder
labelSchema
(Consumer<LabelSchema.Builder> labelSchema) Sets the value of the LabelSchema property for this object.labelSchema
(LabelSchema labelSchema) Sets the value of the LabelSchema property for this object.modelVariables
(String... modelVariables) The training data schema variables.modelVariables
(Collection<String> modelVariables) The training data schema variables.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
-
modelVariables
The training data schema variables.
- Parameters:
modelVariables
- The training data schema variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVariables
The training data schema variables.
- Parameters:
modelVariables
- The training data schema variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelSchema
Sets the value of the LabelSchema property for this object.- Parameters:
labelSchema
- The new value for the LabelSchema property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelSchema
Sets the value of the LabelSchema property for this object. This is a convenience method that creates an instance of theLabelSchema.Builder
avoiding the need to create one manually viaLabelSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabelSchema(LabelSchema)
.- Parameters:
labelSchema
- a consumer that will call methods onLabelSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-