Class CfnAIWorkloadConfig.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAIWorkloadConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIWorkloadConfig>
- Enclosing class:
CfnAIWorkloadConfig
@Stability(Stable)
public static final class CfnAIWorkloadConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIWorkloadConfig>
A fluent builder for
CfnAIWorkloadConfig.-
Method Summary
Modifier and TypeMethodDescriptionaiWorkloadConfigName(String aiWorkloadConfigName) The name of the AI workload configuration.aiWorkloadConfigs(IResolvable aiWorkloadConfigs) The benchmark tool configuration for an AI workload.aiWorkloadConfigs(CfnAIWorkloadConfig.AIWorkloadConfigsProperty aiWorkloadConfigs) The benchmark tool configuration for an AI workload.build()static CfnAIWorkloadConfig.BuilderdatasetConfig(IResolvable datasetConfig) The dataset configuration for an AI workload.datasetConfig(CfnAIWorkloadConfig.AIDatasetConfigProperty datasetConfig) The dataset configuration for an AI workload.The metadata that you apply to the AI workload configuration to help you categorize and organize it.
-
Method Details
-
create
@Stability(Stable) public static CfnAIWorkloadConfig.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAIWorkloadConfig.Builder.
-
aiWorkloadConfigName
@Stability(Stable) public CfnAIWorkloadConfig.Builder aiWorkloadConfigName(String 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.
- Parameters:
aiWorkloadConfigName- The name of the AI workload configuration. This parameter is required.- Returns:
this- See Also:
-
aiWorkloadConfigs
@Stability(Stable) public CfnAIWorkloadConfig.Builder aiWorkloadConfigs(IResolvable aiWorkloadConfigs) The benchmark tool configuration for an AI workload.- Parameters:
aiWorkloadConfigs- The benchmark tool configuration for an AI workload. This parameter is required.- Returns:
this- See Also:
-
aiWorkloadConfigs
@Stability(Stable) public CfnAIWorkloadConfig.Builder aiWorkloadConfigs(CfnAIWorkloadConfig.AIWorkloadConfigsProperty aiWorkloadConfigs) The benchmark tool configuration for an AI workload.- Parameters:
aiWorkloadConfigs- The benchmark tool configuration for an AI workload. This parameter is required.- Returns:
this- See Also:
-
datasetConfig
The dataset configuration for an AI workload.- Parameters:
datasetConfig- The dataset configuration for an AI workload. This parameter is required.- Returns:
this- See Also:
-
datasetConfig
@Stability(Stable) public CfnAIWorkloadConfig.Builder datasetConfig(CfnAIWorkloadConfig.AIDatasetConfigProperty datasetConfig) The dataset configuration for an AI workload.- Parameters:
datasetConfig- The dataset configuration for an AI workload. This parameter is required.- Returns:
this- See Also:
-
tags
The metadata that you apply to the AI workload configuration to help you categorize and organize it.- Parameters:
tags- The metadata that you apply to the AI workload configuration to help you categorize and organize it. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIWorkloadConfig>- Returns:
- a newly built instance of
CfnAIWorkloadConfig.
-