Class CfnAIWorkloadConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAIWorkloadConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIWorkloadConfigProps>
- Enclosing interface:
CfnAIWorkloadConfigProps
@Stability(Stable)
public static final class CfnAIWorkloadConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIWorkloadConfigProps>
A builder for
CfnAIWorkloadConfigProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaiWorkloadConfigName(String aiWorkloadConfigName) Sets the value ofCfnAIWorkloadConfigProps.getAiWorkloadConfigName()aiWorkloadConfigs(IResolvable aiWorkloadConfigs) Sets the value ofCfnAIWorkloadConfigProps.getAiWorkloadConfigs()aiWorkloadConfigs(CfnAIWorkloadConfig.AIWorkloadConfigsProperty aiWorkloadConfigs) Sets the value ofCfnAIWorkloadConfigProps.getAiWorkloadConfigs()build()Builds the configured instance.datasetConfig(IResolvable datasetConfig) Sets the value ofCfnAIWorkloadConfigProps.getDatasetConfig()datasetConfig(CfnAIWorkloadConfig.AIDatasetConfigProperty datasetConfig) Sets the value ofCfnAIWorkloadConfigProps.getDatasetConfig()Sets the value ofCfnAIWorkloadConfigProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aiWorkloadConfigName
@Stability(Stable) public CfnAIWorkloadConfigProps.Builder aiWorkloadConfigName(String aiWorkloadConfigName) Sets the value ofCfnAIWorkloadConfigProps.getAiWorkloadConfigName()- Parameters:
aiWorkloadConfigName- The name of the AI workload configuration. This parameter is required. 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 CfnAIWorkloadConfigProps.Builder aiWorkloadConfigs(IResolvable aiWorkloadConfigs) Sets the value ofCfnAIWorkloadConfigProps.getAiWorkloadConfigs()- Parameters:
aiWorkloadConfigs- The benchmark tool configuration for an AI workload.- Returns:
this
-
aiWorkloadConfigs
@Stability(Stable) public CfnAIWorkloadConfigProps.Builder aiWorkloadConfigs(CfnAIWorkloadConfig.AIWorkloadConfigsProperty aiWorkloadConfigs) Sets the value ofCfnAIWorkloadConfigProps.getAiWorkloadConfigs()- Parameters:
aiWorkloadConfigs- The benchmark tool configuration for an AI workload.- Returns:
this
-
datasetConfig
Sets the value ofCfnAIWorkloadConfigProps.getDatasetConfig()- Parameters:
datasetConfig- The dataset configuration for an AI workload.- Returns:
this
-
datasetConfig
@Stability(Stable) public CfnAIWorkloadConfigProps.Builder datasetConfig(CfnAIWorkloadConfig.AIDatasetConfigProperty datasetConfig) Sets the value ofCfnAIWorkloadConfigProps.getDatasetConfig()- Parameters:
datasetConfig- The dataset configuration for an AI workload.- Returns:
this
-
tags
Sets the value ofCfnAIWorkloadConfigProps.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<CfnAIWorkloadConfigProps>- Returns:
- a new instance of
CfnAIWorkloadConfigProps - Throws:
NullPointerException- if any required attribute was not provided
-