Interface CreateAiWorkloadConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAiWorkloadConfigRequest.Builder,,CreateAiWorkloadConfigRequest> SageMakerRequest.Builder,SdkBuilder<CreateAiWorkloadConfigRequest.Builder,,CreateAiWorkloadConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAiWorkloadConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionaiWorkloadConfigName(String aiWorkloadConfigName) The name of the AI workload configuration.aiWorkloadConfigs(Consumer<AIWorkloadConfigs.Builder> aiWorkloadConfigs) The benchmark tool configuration and workload specification.aiWorkloadConfigs(AIWorkloadConfigs aiWorkloadConfigs) The benchmark tool configuration and workload specification.datasetConfig(Consumer<AIDatasetConfig.Builder> datasetConfig) The dataset configuration for the workload.datasetConfig(AIDatasetConfig datasetConfig) The dataset configuration for the workload.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.tags(Consumer<Tag.Builder>... tags) The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.The metadata that you apply to Amazon Web Services resources to help you categorize and organize them.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
aiWorkloadConfigName
The name of the AI workload configuration. The name must be unique within your Amazon Web Services account in the current Amazon Web Services Region.
- Parameters:
aiWorkloadConfigName- The name of the AI workload configuration. The name must be unique within your Amazon Web Services account in the current Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetConfig
The dataset configuration for the workload. Specify input data channels with their data sources for benchmark workloads.
- Parameters:
datasetConfig- The dataset configuration for the workload. Specify input data channels with their data sources for benchmark workloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetConfig
default CreateAiWorkloadConfigRequest.Builder datasetConfig(Consumer<AIDatasetConfig.Builder> datasetConfig) The dataset configuration for the workload. Specify input data channels with their data sources for benchmark workloads.
This is a convenience method that creates an instance of theAIDatasetConfig.Builderavoiding the need to create one manually viaAIDatasetConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasetConfig(AIDatasetConfig).- Parameters:
datasetConfig- a consumer that will call methods onAIDatasetConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aiWorkloadConfigs
The benchmark tool configuration and workload specification. Provide the specification as an inline YAML or JSON string.
- Parameters:
aiWorkloadConfigs- The benchmark tool configuration and workload specification. Provide the specification as an inline YAML or JSON string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiWorkloadConfigs
default CreateAiWorkloadConfigRequest.Builder aiWorkloadConfigs(Consumer<AIWorkloadConfigs.Builder> aiWorkloadConfigs) The benchmark tool configuration and workload specification. Provide the specification as an inline YAML or JSON string.
This is a convenience method that creates an instance of theAIWorkloadConfigs.Builderavoiding the need to create one manually viaAIWorkloadConfigs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaiWorkloadConfigs(AIWorkloadConfigs).- Parameters:
aiWorkloadConfigs- a consumer that will call methods onAIWorkloadConfigs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
- Parameters:
tags- The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
- Parameters:
tags- The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAiWorkloadConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAiWorkloadConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-