Class CfnCollaboration.MLPaymentConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnCollaboration.MLPaymentConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollaboration.MLPaymentConfigProperty>
- Enclosing interface:
CfnCollaboration.MLPaymentConfigProperty
@Stability(Stable)
public static final class CfnCollaboration.MLPaymentConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollaboration.MLPaymentConfigProperty>
A builder for
CfnCollaboration.MLPaymentConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.modelInference
(IResolvable modelInference) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getModelInference()
modelInference
(CfnCollaboration.ModelInferencePaymentConfigProperty modelInference) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getModelInference()
modelTraining
(IResolvable modelTraining) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getModelTraining()
modelTraining
(CfnCollaboration.ModelTrainingPaymentConfigProperty modelTraining) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getModelTraining()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelInference
@Stability(Stable) public CfnCollaboration.MLPaymentConfigProperty.Builder modelInference(IResolvable modelInference) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getModelInference()
- Parameters:
modelInference
- The payment responsibilities accepted by the member for model inference.- Returns:
this
-
modelInference
@Stability(Stable) public CfnCollaboration.MLPaymentConfigProperty.Builder modelInference(CfnCollaboration.ModelInferencePaymentConfigProperty modelInference) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getModelInference()
- Parameters:
modelInference
- The payment responsibilities accepted by the member for model inference.- Returns:
this
-
modelTraining
@Stability(Stable) public CfnCollaboration.MLPaymentConfigProperty.Builder modelTraining(IResolvable modelTraining) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getModelTraining()
- Parameters:
modelTraining
- The payment responsibilities accepted by the member for model training.- Returns:
this
-
modelTraining
@Stability(Stable) public CfnCollaboration.MLPaymentConfigProperty.Builder modelTraining(CfnCollaboration.ModelTrainingPaymentConfigProperty modelTraining) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getModelTraining()
- Parameters:
modelTraining
- The payment responsibilities accepted by the member for model training.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCollaboration.MLPaymentConfigProperty>
- Returns:
- a new instance of
CfnCollaboration.MLPaymentConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-