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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TrainingDataSchema.BuilderlabelSchema(Consumer<LabelSchema.Builder> labelSchema)Sets the value of the LabelSchema property for this object.TrainingDataSchema.BuilderlabelSchema(LabelSchema labelSchema)Sets the value of the LabelSchema property for this object.TrainingDataSchema.BuildermodelVariables(String... modelVariables)The training data schema variables.TrainingDataSchema.BuildermodelVariables(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 Detail
-
modelVariables
TrainingDataSchema.Builder modelVariables(Collection<String> 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
TrainingDataSchema.Builder modelVariables(String... 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
TrainingDataSchema.Builder labelSchema(LabelSchema 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
default TrainingDataSchema.Builder labelSchema(Consumer<LabelSchema.Builder> labelSchema)
Sets the value of the LabelSchema property for this object. This is a convenience method that creates an instance of theLabelSchema.Builderavoiding the need to create one manually viaLabelSchema.builder().When the
Consumercompletes,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:
labelSchema(LabelSchema)
-
-