Interface MLPaymentConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MLPaymentConfig.Builder,
,MLPaymentConfig> SdkBuilder<MLPaymentConfig.Builder,
,MLPaymentConfig> SdkPojo
- Enclosing class:
MLPaymentConfig
@Mutable
@NotThreadSafe
public static interface MLPaymentConfig.Builder
extends SdkPojo, CopyableBuilder<MLPaymentConfig.Builder,MLPaymentConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MLPaymentConfig.Builder
modelInference
(Consumer<ModelInferencePaymentConfig.Builder> modelInference) The payment responsibilities accepted by the member for model inference.modelInference
(ModelInferencePaymentConfig modelInference) The payment responsibilities accepted by the member for model inference.default MLPaymentConfig.Builder
modelTraining
(Consumer<ModelTrainingPaymentConfig.Builder> modelTraining) The payment responsibilities accepted by the member for model training.modelTraining
(ModelTrainingPaymentConfig modelTraining) The payment responsibilities accepted by the member for model training.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 Details
-
modelTraining
The payment responsibilities accepted by the member for model training.
- Parameters:
modelTraining
- The payment responsibilities accepted by the member for model training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelTraining
default MLPaymentConfig.Builder modelTraining(Consumer<ModelTrainingPaymentConfig.Builder> modelTraining) The payment responsibilities accepted by the member for model training.
This is a convenience method that creates an instance of theModelTrainingPaymentConfig.Builder
avoiding the need to create one manually viaModelTrainingPaymentConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelTraining(ModelTrainingPaymentConfig)
.- Parameters:
modelTraining
- a consumer that will call methods onModelTrainingPaymentConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelInference
The payment responsibilities accepted by the member for model inference.
- Parameters:
modelInference
- The payment responsibilities accepted by the member for model inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelInference
default MLPaymentConfig.Builder modelInference(Consumer<ModelInferencePaymentConfig.Builder> modelInference) The payment responsibilities accepted by the member for model inference.
This is a convenience method that creates an instance of theModelInferencePaymentConfig.Builder
avoiding the need to create one manually viaModelInferencePaymentConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelInference(ModelInferencePaymentConfig)
.- Parameters:
modelInference
- a consumer that will call methods onModelInferencePaymentConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-