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