Interface DescribeAiBenchmarkJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAiBenchmarkJobResponse.Builder,,DescribeAiBenchmarkJobResponse> SageMakerResponse.Builder,SdkBuilder<DescribeAiBenchmarkJobResponse.Builder,,DescribeAiBenchmarkJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAiBenchmarkJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionaiBenchmarkJobArn(String aiBenchmarkJobArn) The Amazon Resource Name (ARN) of the AI benchmark job.aiBenchmarkJobName(String aiBenchmarkJobName) The name of the AI benchmark job.aiBenchmarkJobStatus(String aiBenchmarkJobStatus) The status of the AI benchmark job.aiBenchmarkJobStatus(AIBenchmarkJobStatus aiBenchmarkJobStatus) The status of the AI benchmark job.aiWorkloadConfigIdentifier(String aiWorkloadConfigIdentifier) The name or Amazon Resource Name (ARN) of the AI workload configuration used for this benchmark job.benchmarkTarget(Consumer<AIBenchmarkTarget.Builder> benchmarkTarget) The target endpoint that was benchmarked.benchmarkTarget(AIBenchmarkTarget benchmarkTarget) The target endpoint that was benchmarked.creationTime(Instant creationTime) A timestamp that indicates when the benchmark job was created.A timestamp that indicates when the benchmark job completed.failureReason(String failureReason) If the benchmark job failed, the reason it failed.networkConfig(Consumer<AIBenchmarkNetworkConfig.Builder> networkConfig) The network configuration for the benchmark job.networkConfig(AIBenchmarkNetworkConfig networkConfig) The network configuration for the benchmark job.outputConfig(Consumer<AIBenchmarkOutputResult.Builder> outputConfig) The output configuration for the benchmark job, including the Amazon S3 output location and CloudWatch log information.outputConfig(AIBenchmarkOutputResult outputConfig) The output configuration for the benchmark job, including the Amazon S3 output location and CloudWatch log information.The Amazon Resource Name (ARN) of the IAM role used by the benchmark job.A timestamp that indicates when the benchmark job started running.tags(Collection<Tag> tags) The tags associated with the benchmark job.tags(Consumer<Tag.Builder>... tags) The tags associated with the benchmark job.The tags associated with the benchmark job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
aiBenchmarkJobName
The name of the AI benchmark job.
- Parameters:
aiBenchmarkJobName- The name of the AI benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiBenchmarkJobArn
The Amazon Resource Name (ARN) of the AI benchmark job.
- Parameters:
aiBenchmarkJobArn- The Amazon Resource Name (ARN) of the AI benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiBenchmarkJobStatus
The status of the AI benchmark job.
- Parameters:
aiBenchmarkJobStatus- The status of the AI benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aiBenchmarkJobStatus
DescribeAiBenchmarkJobResponse.Builder aiBenchmarkJobStatus(AIBenchmarkJobStatus aiBenchmarkJobStatus) The status of the AI benchmark job.
- Parameters:
aiBenchmarkJobStatus- The status of the AI benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
If the benchmark job failed, the reason it failed.
- Parameters:
failureReason- If the benchmark job failed, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
benchmarkTarget
The target endpoint that was benchmarked.
- Parameters:
benchmarkTarget- The target endpoint that was benchmarked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
benchmarkTarget
default DescribeAiBenchmarkJobResponse.Builder benchmarkTarget(Consumer<AIBenchmarkTarget.Builder> benchmarkTarget) The target endpoint that was benchmarked.
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 output location and CloudWatch log information.
- Parameters:
outputConfig- The output configuration for the benchmark job, including the Amazon S3 output location and CloudWatch log information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default DescribeAiBenchmarkJobResponse.Builder outputConfig(Consumer<AIBenchmarkOutputResult.Builder> outputConfig) The output configuration for the benchmark job, including the Amazon S3 output location and CloudWatch log information.
This is a convenience method that creates an instance of theAIBenchmarkOutputResult.Builderavoiding the need to create one manually viaAIBenchmarkOutputResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(AIBenchmarkOutputResult).- Parameters:
outputConfig- a consumer that will call methods onAIBenchmarkOutputResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aiWorkloadConfigIdentifier
DescribeAiBenchmarkJobResponse.Builder aiWorkloadConfigIdentifier(String aiWorkloadConfigIdentifier) The name or Amazon Resource Name (ARN) of the AI workload configuration used for this benchmark job.
- Parameters:
aiWorkloadConfigIdentifier- The name or Amazon Resource Name (ARN) of the AI workload configuration used 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 the IAM role used by the benchmark job.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role used by the benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfig
The network configuration for the benchmark job.
- Parameters:
networkConfig- The network configuration for the benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfig
default DescribeAiBenchmarkJobResponse.Builder networkConfig(Consumer<AIBenchmarkNetworkConfig.Builder> networkConfig) The network configuration for the benchmark job.
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:
-
creationTime
A timestamp that indicates when the benchmark job was created.
- Parameters:
creationTime- A timestamp that indicates when the benchmark job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
A timestamp that indicates when the benchmark job started running.
- Parameters:
startTime- A timestamp that indicates when the benchmark job started running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
A timestamp that indicates when the benchmark job completed.
- Parameters:
endTime- A timestamp that indicates when the benchmark job completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the benchmark job.
- Parameters:
tags- The tags associated with the benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the benchmark job.
- Parameters:
tags- The tags associated with the benchmark job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the benchmark job.
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:
-