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()syntheticDataGeneration(IResolvable syntheticDataGeneration) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getSyntheticDataGeneration()syntheticDataGeneration(CfnCollaboration.SyntheticDataGenerationPaymentConfigProperty syntheticDataGeneration) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getSyntheticDataGeneration()
-
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
-
syntheticDataGeneration
@Stability(Stable) public CfnCollaboration.MLPaymentConfigProperty.Builder syntheticDataGeneration(IResolvable syntheticDataGeneration) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getSyntheticDataGeneration()- Parameters:
syntheticDataGeneration- The payment configuration for machine learning synthetic data generation.- Returns:
this
-
syntheticDataGeneration
@Stability(Stable) public CfnCollaboration.MLPaymentConfigProperty.Builder syntheticDataGeneration(CfnCollaboration.SyntheticDataGenerationPaymentConfigProperty syntheticDataGeneration) Sets the value ofCfnCollaboration.MLPaymentConfigProperty.getSyntheticDataGeneration()- Parameters:
syntheticDataGeneration- The payment configuration for machine learning synthetic data generation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollaboration.MLPaymentConfigProperty>- Returns:
- a new instance of
CfnCollaboration.MLPaymentConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-