Class CfnAIWorkloadConfigMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnAIWorkloadConfigMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIWorkloadConfigMixinProps>
- Enclosing interface:
CfnAIWorkloadConfigMixinProps
@Stability(Stable)
public static final class CfnAIWorkloadConfigMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIWorkloadConfigMixinProps>
A builder for
CfnAIWorkloadConfigMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaiWorkloadConfigName(String aiWorkloadConfigName) Sets the value ofCfnAIWorkloadConfigMixinProps.getAiWorkloadConfigName()aiWorkloadConfigs(CfnAIWorkloadConfigPropsMixin.AIWorkloadConfigsProperty aiWorkloadConfigs) Sets the value ofCfnAIWorkloadConfigMixinProps.getAiWorkloadConfigs()aiWorkloadConfigs(IResolvable aiWorkloadConfigs) Sets the value ofCfnAIWorkloadConfigMixinProps.getAiWorkloadConfigs()build()Builds the configured instance.Sets the value ofCfnAIWorkloadConfigMixinProps.getDatasetConfig()datasetConfig(IResolvable datasetConfig) Sets the value ofCfnAIWorkloadConfigMixinProps.getDatasetConfig()Sets the value ofCfnAIWorkloadConfigMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aiWorkloadConfigName
@Stability(Stable) public CfnAIWorkloadConfigMixinProps.Builder aiWorkloadConfigName(String aiWorkloadConfigName) Sets the value ofCfnAIWorkloadConfigMixinProps.getAiWorkloadConfigName()- Parameters:
aiWorkloadConfigName- The name of the AI workload configuration. The name must be unique within your AWS account in the current AWS Region. Only lowercase letters and digits are accepted: DeleteAIWorkloadConfig lowercases the name before looking it up, so a name containing an uppercase letter produces a configuration that can be created and read but never deleted.- Returns:
this
-
aiWorkloadConfigs
@Stability(Stable) public CfnAIWorkloadConfigMixinProps.Builder aiWorkloadConfigs(IResolvable aiWorkloadConfigs) Sets the value ofCfnAIWorkloadConfigMixinProps.getAiWorkloadConfigs()- Parameters:
aiWorkloadConfigs- The benchmark tool configuration for an AI workload.- Returns:
this
-
aiWorkloadConfigs
@Stability(Stable) public CfnAIWorkloadConfigMixinProps.Builder aiWorkloadConfigs(CfnAIWorkloadConfigPropsMixin.AIWorkloadConfigsProperty aiWorkloadConfigs) Sets the value ofCfnAIWorkloadConfigMixinProps.getAiWorkloadConfigs()- Parameters:
aiWorkloadConfigs- The benchmark tool configuration for an AI workload.- Returns:
this
-
datasetConfig
@Stability(Stable) public CfnAIWorkloadConfigMixinProps.Builder datasetConfig(IResolvable datasetConfig) Sets the value ofCfnAIWorkloadConfigMixinProps.getDatasetConfig()- Parameters:
datasetConfig- The dataset configuration for an AI workload.- Returns:
this
-
datasetConfig
@Stability(Stable) public CfnAIWorkloadConfigMixinProps.Builder datasetConfig(CfnAIWorkloadConfigPropsMixin.AIDatasetConfigProperty datasetConfig) Sets the value ofCfnAIWorkloadConfigMixinProps.getDatasetConfig()- Parameters:
datasetConfig- The dataset configuration for an AI workload.- Returns:
this
-
tags
Sets the value ofCfnAIWorkloadConfigMixinProps.getTags()- Parameters:
tags- The metadata that you apply to the AI workload configuration to help you categorize and organize it.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIWorkloadConfigMixinProps>- Returns:
- a new instance of
CfnAIWorkloadConfigMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-