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