Interface DescribeOptimizationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeOptimizationJobResponse.Builder,
,DescribeOptimizationJobResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeOptimizationJobResponse.Builder,
,DescribeOptimizationJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeOptimizationJobResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time when you created the optimization job.deploymentInstanceType
(String deploymentInstanceType) The type of instance that hosts the optimized model that you create with the optimization job.deploymentInstanceType
(OptimizationJobDeploymentInstanceType deploymentInstanceType) The type of instance that hosts the optimized model that you create with the optimization job.failureReason
(String failureReason) If the optimization job status isFAILED
, the reason for the failure.lastModifiedTime
(Instant lastModifiedTime) The time when the optimization job was last updated.modelSource
(Consumer<OptimizationJobModelSource.Builder> modelSource) The location of the source model to optimize with an optimization job.modelSource
(OptimizationJobModelSource modelSource) The location of the source model to optimize with an optimization job.optimizationConfigs
(Collection<OptimizationConfig> optimizationConfigs) Settings for each of the optimization techniques that the job applies.optimizationConfigs
(Consumer<OptimizationConfig.Builder>... optimizationConfigs) Settings for each of the optimization techniques that the job applies.optimizationConfigs
(OptimizationConfig... optimizationConfigs) Settings for each of the optimization techniques that the job applies.optimizationEndTime
(Instant optimizationEndTime) The time when the optimization job finished processing.optimizationEnvironment
(Map<String, String> optimizationEnvironment) The environment variables to set in the model container.optimizationJobArn
(String optimizationJobArn) The Amazon Resource Name (ARN) of the optimization job.optimizationJobName
(String optimizationJobName) The name that you assigned to the optimization job.optimizationJobStatus
(String optimizationJobStatus) The current status of the optimization job.optimizationJobStatus
(OptimizationJobStatus optimizationJobStatus) The current status of the optimization job.optimizationOutput
(Consumer<OptimizationOutput.Builder> optimizationOutput) Output values produced by an optimization job.optimizationOutput
(OptimizationOutput optimizationOutput) Output values produced by an optimization job.optimizationStartTime
(Instant optimizationStartTime) The time when the optimization job started.outputConfig
(Consumer<OptimizationJobOutputConfig.Builder> outputConfig) Details for where to store the optimized model that you create with the optimization job.outputConfig
(OptimizationJobOutputConfig outputConfig) Details for where to store the optimized model that you create with the optimization job.The ARN of the IAM role that you assigned to the optimization job.stoppingCondition
(Consumer<StoppingCondition.Builder> stoppingCondition) Sets the value of the StoppingCondition property for this object.stoppingCondition
(StoppingCondition stoppingCondition) Sets the value of the StoppingCondition property for this object.vpcConfig
(Consumer<OptimizationVpcConfig.Builder> vpcConfig) A VPC in Amazon VPC that your optimized model has access to.vpcConfig
(OptimizationVpcConfig vpcConfig) A VPC in Amazon VPC that your optimized model has access to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
optimizationJobArn
The Amazon Resource Name (ARN) of the optimization job.
- Parameters:
optimizationJobArn
- The Amazon Resource Name (ARN) of the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationJobStatus
The current status of the optimization job.
- Parameters:
optimizationJobStatus
- The current status of the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optimizationJobStatus
DescribeOptimizationJobResponse.Builder optimizationJobStatus(OptimizationJobStatus optimizationJobStatus) The current status of the optimization job.
- Parameters:
optimizationJobStatus
- The current status of the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optimizationStartTime
The time when the optimization job started.
- Parameters:
optimizationStartTime
- The time when the optimization job started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationEndTime
The time when the optimization job finished processing.
- Parameters:
optimizationEndTime
- The time when the optimization job finished processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time when you created the optimization job.
- Parameters:
creationTime
- The time when you created the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time when the optimization job was last updated.
- Parameters:
lastModifiedTime
- The time when the optimization job was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If the optimization job status is
FAILED
, the reason for the failure.- Parameters:
failureReason
- If the optimization job status isFAILED
, the reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationJobName
The name that you assigned to the optimization job.
- Parameters:
optimizationJobName
- The name that you assigned to the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSource
The location of the source model to optimize with an optimization job.
- Parameters:
modelSource
- The location of the source model to optimize with an optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSource
default DescribeOptimizationJobResponse.Builder modelSource(Consumer<OptimizationJobModelSource.Builder> modelSource) The location of the source model to optimize with an optimization job.
This is a convenience method that creates an instance of theOptimizationJobModelSource.Builder
avoiding the need to create one manually viaOptimizationJobModelSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelSource(OptimizationJobModelSource)
.- Parameters:
modelSource
- a consumer that will call methods onOptimizationJobModelSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optimizationEnvironment
DescribeOptimizationJobResponse.Builder optimizationEnvironment(Map<String, String> optimizationEnvironment) The environment variables to set in the model container.
- Parameters:
optimizationEnvironment
- The environment variables to set in the model container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentInstanceType
The type of instance that hosts the optimized model that you create with the optimization job.
- Parameters:
deploymentInstanceType
- The type of instance that hosts the optimized model that you create with the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentInstanceType
DescribeOptimizationJobResponse.Builder deploymentInstanceType(OptimizationJobDeploymentInstanceType deploymentInstanceType) The type of instance that hosts the optimized model that you create with the optimization job.
- Parameters:
deploymentInstanceType
- The type of instance that hosts the optimized model that you create with the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optimizationConfigs
DescribeOptimizationJobResponse.Builder optimizationConfigs(Collection<OptimizationConfig> optimizationConfigs) Settings for each of the optimization techniques that the job applies.
- Parameters:
optimizationConfigs
- Settings for each of the optimization techniques that the job applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationConfigs
DescribeOptimizationJobResponse.Builder optimizationConfigs(OptimizationConfig... optimizationConfigs) Settings for each of the optimization techniques that the job applies.
- Parameters:
optimizationConfigs
- Settings for each of the optimization techniques that the job applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationConfigs
DescribeOptimizationJobResponse.Builder optimizationConfigs(Consumer<OptimizationConfig.Builder>... optimizationConfigs) Settings for each of the optimization techniques that the job applies.
This is a convenience method that creates an instance of theOptimizationConfig.Builder
avoiding the need to create one manually viaOptimizationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptimizationConfigs(List<OptimizationConfig>)
.- Parameters:
optimizationConfigs
- a consumer that will call methods onOptimizationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
Details for where to store the optimized model that you create with the optimization job.
- Parameters:
outputConfig
- Details for where to store the optimized model that you create with the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default DescribeOptimizationJobResponse.Builder outputConfig(Consumer<OptimizationJobOutputConfig.Builder> outputConfig) Details for where to store the optimized model that you create with the optimization job.
This is a convenience method that creates an instance of theOptimizationJobOutputConfig.Builder
avoiding the need to create one manually viaOptimizationJobOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConfig(OptimizationJobOutputConfig)
.- Parameters:
outputConfig
- a consumer that will call methods onOptimizationJobOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optimizationOutput
Output values produced by an optimization job.
- Parameters:
optimizationOutput
- Output values produced by an optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationOutput
default DescribeOptimizationJobResponse.Builder optimizationOutput(Consumer<OptimizationOutput.Builder> optimizationOutput) Output values produced by an optimization job.
This is a convenience method that creates an instance of theOptimizationOutput.Builder
avoiding the need to create one manually viaOptimizationOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptimizationOutput(OptimizationOutput)
.- Parameters:
optimizationOutput
- a consumer that will call methods onOptimizationOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the IAM role that you assigned to the optimization job.
- Parameters:
roleArn
- The ARN of the IAM role that you assigned to the optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
Sets the value of the StoppingCondition property for this object.- Parameters:
stoppingCondition
- The new value for the StoppingCondition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
default DescribeOptimizationJobResponse.Builder stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition) Sets the value of the StoppingCondition property for this object. This is a convenience method that creates an instance of theStoppingCondition.Builder
avoiding the need to create one manually viaStoppingCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostoppingCondition(StoppingCondition)
.- Parameters:
stoppingCondition
- a consumer that will call methods onStoppingCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
A VPC in Amazon VPC that your optimized model has access to.
- Parameters:
vpcConfig
- A VPC in Amazon VPC that your optimized model has access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default DescribeOptimizationJobResponse.Builder vpcConfig(Consumer<OptimizationVpcConfig.Builder> vpcConfig) A VPC in Amazon VPC that your optimized model has access to.
This is a convenience method that creates an instance of theOptimizationVpcConfig.Builder
avoiding the need to create one manually viaOptimizationVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(OptimizationVpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onOptimizationVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-