Class CfnConfiguredModelAlgorithmMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cleanroomsml.CfnConfiguredModelAlgorithmMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredModelAlgorithmMixinProps>
- Enclosing interface:
CfnConfiguredModelAlgorithmMixinProps
@Stability(Stable)
public static final class CfnConfiguredModelAlgorithmMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredModelAlgorithmMixinProps>
A builder for
CfnConfiguredModelAlgorithmMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getDescription()inferenceContainerConfig(CfnConfiguredModelAlgorithmPropsMixin.InferenceContainerConfigProperty inferenceContainerConfig) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getInferenceContainerConfig()inferenceContainerConfig(IResolvable inferenceContainerConfig) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getInferenceContainerConfig()Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getKmsKeyArn()Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getName()Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getRoleArn()Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getTags()trainingContainerConfig(CfnConfiguredModelAlgorithmPropsMixin.ContainerConfigProperty trainingContainerConfig) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getTrainingContainerConfig()trainingContainerConfig(IResolvable trainingContainerConfig) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getTrainingContainerConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnConfiguredModelAlgorithmMixinProps.Builder description(String description) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
inferenceContainerConfig
@Stability(Stable) public CfnConfiguredModelAlgorithmMixinProps.Builder inferenceContainerConfig(IResolvable inferenceContainerConfig) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getInferenceContainerConfig()- Parameters:
inferenceContainerConfig- the value to be set.- Returns:
this
-
inferenceContainerConfig
@Stability(Stable) public CfnConfiguredModelAlgorithmMixinProps.Builder inferenceContainerConfig(CfnConfiguredModelAlgorithmPropsMixin.InferenceContainerConfigProperty inferenceContainerConfig) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getInferenceContainerConfig()- Parameters:
inferenceContainerConfig- the value to be set.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- the value to be set.- Returns:
this
-
name
Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
roleArn
Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getRoleArn()- Parameters:
roleArn- the value to be set.- Returns:
this
-
tags
@Stability(Stable) public CfnConfiguredModelAlgorithmMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getTags()- Parameters:
tags- An arbitrary set of tags (key-value pairs) for this cleanrooms-ml configured model algorithm.- Returns:
this
-
trainingContainerConfig
@Stability(Stable) public CfnConfiguredModelAlgorithmMixinProps.Builder trainingContainerConfig(IResolvable trainingContainerConfig) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getTrainingContainerConfig()- Parameters:
trainingContainerConfig- the value to be set.- Returns:
this
-
trainingContainerConfig
@Stability(Stable) public CfnConfiguredModelAlgorithmMixinProps.Builder trainingContainerConfig(CfnConfiguredModelAlgorithmPropsMixin.ContainerConfigProperty trainingContainerConfig) Sets the value ofCfnConfiguredModelAlgorithmMixinProps.getTrainingContainerConfig()- Parameters:
trainingContainerConfig- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredModelAlgorithmMixinProps>- Returns:
- a new instance of
CfnConfiguredModelAlgorithmMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-