Interface DescribeAiRecommendationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAiRecommendationJobResponse.Builder,,DescribeAiRecommendationJobResponse> SageMakerResponse.Builder,SdkBuilder<DescribeAiRecommendationJobResponse.Builder,,DescribeAiRecommendationJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAiRecommendationJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionaiRecommendationJobArn(String aiRecommendationJobArn) The Amazon Resource Name (ARN) of the AI recommendation job.aiRecommendationJobName(String aiRecommendationJobName) The name of the AI recommendation job.aiRecommendationJobStatus(String aiRecommendationJobStatus) The status of the AI recommendation job.aiRecommendationJobStatus(AIRecommendationJobStatus aiRecommendationJobStatus) The status of the AI recommendation job.aiWorkloadConfigIdentifier(String aiWorkloadConfigIdentifier) The name or Amazon Resource Name (ARN) of the AI workload configuration used for this recommendation job.computeSpec(Consumer<AIRecommendationComputeSpec.Builder> computeSpec) The compute resource specification for the recommendation job.computeSpec(AIRecommendationComputeSpec computeSpec) The compute resource specification for the recommendation job.creationTime(Instant creationTime) A timestamp that indicates when the recommendation job was created.A timestamp that indicates when the recommendation job completed.failureReason(String failureReason) If the recommendation job failed, the reason it failed.inferenceSpecification(Consumer<AIRecommendationInferenceSpecification.Builder> inferenceSpecification) The inference framework configuration.inferenceSpecification(AIRecommendationInferenceSpecification inferenceSpecification) The inference framework configuration.modelSource(Consumer<AIModelSource.Builder> modelSource) The source of the model that was analyzed.modelSource(AIModelSource modelSource) The source of the model that was analyzed.optimizeModel(Boolean optimizeModel) Whether model optimization techniques were allowed.outputConfig(Consumer<AIRecommendationOutputResult.Builder> outputConfig) The output configuration for the recommendation job.outputConfig(AIRecommendationOutputResult outputConfig) The output configuration for the recommendation job.performanceTarget(Consumer<AIRecommendationPerformanceTarget.Builder> performanceTarget) The performance targets specified for the recommendation job.performanceTarget(AIRecommendationPerformanceTarget performanceTarget) The performance targets specified for the recommendation job.recommendations(Collection<AIRecommendation> recommendations) The list of optimization recommendations generated by the job.recommendations(Consumer<AIRecommendation.Builder>... recommendations) The list of optimization recommendations generated by the job.recommendations(AIRecommendation... recommendations) The list of optimization recommendations generated by the job.The Amazon Resource Name (ARN) of the IAM role used by the recommendation job.A timestamp that indicates when the recommendation job started running.tags(Collection<Tag> tags) The tags associated with the recommendation job.tags(Consumer<Tag.Builder>... tags) The tags associated with the recommendation job.The tags associated with the recommendation 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
-
aiRecommendationJobName
The name of the AI recommendation job.
- Parameters:
aiRecommendationJobName- The name of the AI recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiRecommendationJobArn
The Amazon Resource Name (ARN) of the AI recommendation job.
- Parameters:
aiRecommendationJobArn- The Amazon Resource Name (ARN) of the AI recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiRecommendationJobStatus
DescribeAiRecommendationJobResponse.Builder aiRecommendationJobStatus(String aiRecommendationJobStatus) The status of the AI recommendation job.
- Parameters:
aiRecommendationJobStatus- The status of the AI recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aiRecommendationJobStatus
DescribeAiRecommendationJobResponse.Builder aiRecommendationJobStatus(AIRecommendationJobStatus aiRecommendationJobStatus) The status of the AI recommendation job.
- Parameters:
aiRecommendationJobStatus- The status of the AI recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
If the recommendation job failed, the reason it failed.
- Parameters:
failureReason- If the recommendation job failed, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSource
The source of the model that was analyzed.
- Parameters:
modelSource- The source of the model that was analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSource
default DescribeAiRecommendationJobResponse.Builder modelSource(Consumer<AIModelSource.Builder> modelSource) The source of the model that was analyzed.
This is a convenience method that creates an instance of theAIModelSource.Builderavoiding the need to create one manually viaAIModelSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelSource(AIModelSource).- Parameters:
modelSource- a consumer that will call methods onAIModelSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
The output configuration for the recommendation job.
- Parameters:
outputConfig- The output configuration for the recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default DescribeAiRecommendationJobResponse.Builder outputConfig(Consumer<AIRecommendationOutputResult.Builder> outputConfig) The output configuration for the recommendation job.
This is a convenience method that creates an instance of theAIRecommendationOutputResult.Builderavoiding the need to create one manually viaAIRecommendationOutputResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(AIRecommendationOutputResult).- Parameters:
outputConfig- a consumer that will call methods onAIRecommendationOutputResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inferenceSpecification
DescribeAiRecommendationJobResponse.Builder inferenceSpecification(AIRecommendationInferenceSpecification inferenceSpecification) The inference framework configuration.
- Parameters:
inferenceSpecification- The inference framework configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceSpecification
default DescribeAiRecommendationJobResponse.Builder inferenceSpecification(Consumer<AIRecommendationInferenceSpecification.Builder> inferenceSpecification) The inference framework configuration.
This is a convenience method that creates an instance of theAIRecommendationInferenceSpecification.Builderavoiding the need to create one manually viaAIRecommendationInferenceSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinferenceSpecification(AIRecommendationInferenceSpecification).- Parameters:
inferenceSpecification- a consumer that will call methods onAIRecommendationInferenceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aiWorkloadConfigIdentifier
DescribeAiRecommendationJobResponse.Builder aiWorkloadConfigIdentifier(String aiWorkloadConfigIdentifier) The name or Amazon Resource Name (ARN) of the AI workload configuration used for this recommendation job.
- Parameters:
aiWorkloadConfigIdentifier- The name or Amazon Resource Name (ARN) of the AI workload configuration used for this recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizeModel
Whether model optimization techniques were allowed.
- Parameters:
optimizeModel- Whether model optimization techniques were allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceTarget
DescribeAiRecommendationJobResponse.Builder performanceTarget(AIRecommendationPerformanceTarget performanceTarget) The performance targets specified for the recommendation job.
- Parameters:
performanceTarget- The performance targets specified for the recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceTarget
default DescribeAiRecommendationJobResponse.Builder performanceTarget(Consumer<AIRecommendationPerformanceTarget.Builder> performanceTarget) The performance targets specified for the recommendation job.
This is a convenience method that creates an instance of theAIRecommendationPerformanceTarget.Builderavoiding the need to create one manually viaAIRecommendationPerformanceTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperformanceTarget(AIRecommendationPerformanceTarget).- Parameters:
performanceTarget- a consumer that will call methods onAIRecommendationPerformanceTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendations
DescribeAiRecommendationJobResponse.Builder recommendations(Collection<AIRecommendation> recommendations) The list of optimization recommendations generated by the job. Each recommendation includes optimization details, deployment configuration, expected performance metrics, and the associated benchmark job ARN.
- Parameters:
recommendations- The list of optimization recommendations generated by the job. Each recommendation includes optimization details, deployment configuration, expected performance metrics, and the associated benchmark job ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
The list of optimization recommendations generated by the job. Each recommendation includes optimization details, deployment configuration, expected performance metrics, and the associated benchmark job ARN.
- Parameters:
recommendations- The list of optimization recommendations generated by the job. Each recommendation includes optimization details, deployment configuration, expected performance metrics, and the associated benchmark job ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
DescribeAiRecommendationJobResponse.Builder recommendations(Consumer<AIRecommendation.Builder>... recommendations) The list of optimization recommendations generated by the job. Each recommendation includes optimization details, deployment configuration, expected performance metrics, and the associated benchmark job ARN.
This is a convenience method that creates an instance of theAIRecommendation.Builderavoiding the need to create one manually viaAIRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendations(List<AIRecommendation>).- Parameters:
recommendations- a consumer that will call methods onAIRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role used by the recommendation job.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role used by the recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeSpec
The compute resource specification for the recommendation job.
- Parameters:
computeSpec- The compute resource specification for the recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeSpec
default DescribeAiRecommendationJobResponse.Builder computeSpec(Consumer<AIRecommendationComputeSpec.Builder> computeSpec) The compute resource specification for the recommendation job.
This is a convenience method that creates an instance of theAIRecommendationComputeSpec.Builderavoiding the need to create one manually viaAIRecommendationComputeSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomputeSpec(AIRecommendationComputeSpec).- Parameters:
computeSpec- a consumer that will call methods onAIRecommendationComputeSpec.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 recommendation job was created.
- Parameters:
creationTime- A timestamp that indicates when the recommendation 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 recommendation job started running.
- Parameters:
startTime- A timestamp that indicates when the recommendation 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 recommendation job completed.
- Parameters:
endTime- A timestamp that indicates when the recommendation job completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the recommendation job.
- Parameters:
tags- The tags associated with the recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the recommendation job.
- Parameters:
tags- The tags associated with the recommendation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the recommendation 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:
-