Interface CreateAiBenchmarkJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAiBenchmarkJobRequest.Builder,,CreateAiBenchmarkJobRequest> SageMakerRequest.Builder,SdkBuilder<CreateAiBenchmarkJobRequest.Builder,,CreateAiBenchmarkJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAiBenchmarkJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionaiBenchmarkJobName(String aiBenchmarkJobName) The name of the AI benchmark job.aiWorkloadConfigIdentifier(String aiWorkloadConfigIdentifier) The name or Amazon Resource Name (ARN) of the AI workload configuration to use for this benchmark job.benchmarkTarget(Consumer<AIBenchmarkTarget.Builder> benchmarkTarget) The target endpoint to benchmark.benchmarkTarget(AIBenchmarkTarget benchmarkTarget) The target endpoint to benchmark.networkConfig(Consumer<AIBenchmarkNetworkConfig.Builder> networkConfig) The network configuration for the benchmark job, including VPC settings.networkConfig(AIBenchmarkNetworkConfig networkConfig) The network configuration for the benchmark job, including VPC settings.outputConfig(Consumer<AIBenchmarkOutputConfig.Builder> outputConfig) The output configuration for the benchmark job, including the Amazon S3 location where benchmark results are stored.outputConfig(AIBenchmarkOutputConfig outputConfig) The output configuration for the benchmark job, including the Amazon S3 location where benchmark results are stored.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.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
-
aiBenchmarkJobName
The name of the AI benchmark job. The name must be unique within your Amazon Web Services account in the current Amazon Web Services Region.
- Parameters:
aiBenchmarkJobName- The name of the AI benchmark job. 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.
-
benchmarkTarget
The target endpoint to benchmark. Specify a SageMaker endpoint by providing its name or Amazon Resource Name (ARN).
- Parameters:
benchmarkTarget- The target endpoint to benchmark. Specify a SageMaker endpoint by providing its name or Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
benchmarkTarget
default CreateAiBenchmarkJobRequest.Builder benchmarkTarget(Consumer<AIBenchmarkTarget.Builder> benchmarkTarget) The target endpoint to benchmark. Specify a SageMaker endpoint by providing its name or Amazon Resource Name (ARN).
This is a convenience method that creates an instance of theAIBenchmarkTarget.Builderavoiding the need to create one manually viaAIBenchmarkTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobenchmarkTarget(AIBenchmarkTarget).- Parameters:
benchmarkTarget- a consumer that will call methods onAIBenchmarkTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
The output configuration for the benchmark job, including the Amazon S3 location where benchmark results are stored.
- Parameters:
outputConfig- The output configuration for the benchmark job, including the Amazon S3 location where benchmark results are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default CreateAiBenchmarkJobRequest.Builder outputConfig(Consumer<AIBenchmarkOutputConfig.Builder> outputConfig) The output configuration for the benchmark job, including the Amazon S3 location where benchmark results are stored.
This is a convenience method that creates an instance of theAIBenchmarkOutputConfig.Builderavoiding the need to create one manually viaAIBenchmarkOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(AIBenchmarkOutputConfig).- Parameters:
outputConfig- a consumer that will call methods onAIBenchmarkOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aiWorkloadConfigIdentifier
The name or Amazon Resource Name (ARN) of the AI workload configuration to use for this benchmark job.
- Parameters:
aiWorkloadConfigIdentifier- The name or Amazon Resource Name (ARN) of the AI workload configuration to use for this benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfig
The network configuration for the benchmark job, including VPC settings.
- Parameters:
networkConfig- The network configuration for the benchmark job, including VPC settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfig
default CreateAiBenchmarkJobRequest.Builder networkConfig(Consumer<AIBenchmarkNetworkConfig.Builder> networkConfig) The network configuration for the benchmark job, including VPC settings.
This is a convenience method that creates an instance of theAIBenchmarkNetworkConfig.Builderavoiding the need to create one manually viaAIBenchmarkNetworkConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfig(AIBenchmarkNetworkConfig).- Parameters:
networkConfig- a consumer that will call methods onAIBenchmarkNetworkConfig.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.
- 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.- 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.
- 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.- 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.
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
CreateAiBenchmarkJobRequest.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
CreateAiBenchmarkJobRequest.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.
-