Interface DescribeCompilationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCompilationJobResponse.Builder,
,DescribeCompilationJobResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeCompilationJobResponse.Builder,
,DescribeCompilationJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCompilationJobResponse
-
Method Summary
Modifier and TypeMethodDescriptioncompilationEndTime
(Instant compilationEndTime) The time when the model compilation job on a compilation job instance ended.compilationJobArn
(String compilationJobArn) The Amazon Resource Name (ARN) of the model compilation job.compilationJobName
(String compilationJobName) The name of the model compilation job.compilationJobStatus
(String compilationJobStatus) The status of the model compilation job.compilationJobStatus
(CompilationJobStatus compilationJobStatus) The status of the model compilation job.compilationStartTime
(Instant compilationStartTime) The time when the model compilation job started theCompilationJob
instances.creationTime
(Instant creationTime) The time that the model compilation job was created.derivedInformation
(Consumer<DerivedInformation.Builder> derivedInformation) Information that SageMaker Neo automatically derived about the model.derivedInformation
(DerivedInformation derivedInformation) Information that SageMaker Neo automatically derived about the model.failureReason
(String failureReason) If a model compilation job failed, the reason it failed.inferenceImage
(String inferenceImage) The inference image to use when compiling a model.inputConfig
(Consumer<InputConfig.Builder> inputConfig) Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.inputConfig
(InputConfig inputConfig) Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.lastModifiedTime
(Instant lastModifiedTime) The time that the status of the model compilation job was last modified.modelArtifacts
(Consumer<ModelArtifacts.Builder> modelArtifacts) Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.modelArtifacts
(ModelArtifacts modelArtifacts) Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.modelDigests
(Consumer<ModelDigests.Builder> modelDigests) Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.modelDigests
(ModelDigests modelDigests) Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.modelPackageVersionArn
(String modelPackageVersionArn) The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.outputConfig
(Consumer<OutputConfig.Builder> outputConfig) Information about the output location for the compiled model and the target device that the model runs on.outputConfig
(OutputConfig outputConfig) Information about the output location for the compiled model and the target device that the model runs on.The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.stoppingCondition
(Consumer<StoppingCondition.Builder> stoppingCondition) Specifies a limit to how long a model compilation job can run.stoppingCondition
(StoppingCondition stoppingCondition) Specifies a limit to how long a model compilation job can run.vpcConfig
(Consumer<NeoVpcConfig.Builder> vpcConfig) A VpcConfig object that specifies the VPC that you want your compilation job to connect to.vpcConfig
(NeoVpcConfig vpcConfig) A VpcConfig object that specifies the VPC that you want your compilation job to connect 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
-
compilationJobName
The name of the model compilation job.
- Parameters:
compilationJobName
- The name of the model compilation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compilationJobArn
The Amazon Resource Name (ARN) of the model compilation job.
- Parameters:
compilationJobArn
- The Amazon Resource Name (ARN) of the model compilation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compilationJobStatus
The status of the model compilation job.
- Parameters:
compilationJobStatus
- The status of the model compilation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compilationJobStatus
DescribeCompilationJobResponse.Builder compilationJobStatus(CompilationJobStatus compilationJobStatus) The status of the model compilation job.
- Parameters:
compilationJobStatus
- The status of the model compilation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compilationStartTime
The time when the model compilation job started the
CompilationJob
instances.You are billed for the time between this timestamp and the timestamp in the
CompilationEndTime
field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container.- Parameters:
compilationStartTime
- The time when the model compilation job started theCompilationJob
instances.You are billed for the time between this timestamp and the timestamp in the
CompilationEndTime
field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compilationEndTime
The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker detected that the job failed.
- Parameters:
compilationEndTime
- The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker detected that the job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.
- Parameters:
stoppingCondition
- Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
default DescribeCompilationJobResponse.Builder stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition) Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.
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:
-
inferenceImage
The inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.
- Parameters:
inferenceImage
- The inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageVersionArn
The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.
- Parameters:
modelPackageVersionArn
- The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time that the model compilation job was created.
- Parameters:
creationTime
- The time that the model compilation job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time that the status of the model compilation job was last modified.
- Parameters:
lastModifiedTime
- The time that the status of the model compilation job was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If a model compilation job failed, the reason it failed.
- Parameters:
failureReason
- If a model compilation job failed, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArtifacts
Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
- Parameters:
modelArtifacts
- Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArtifacts
default DescribeCompilationJobResponse.Builder modelArtifacts(Consumer<ModelArtifacts.Builder> modelArtifacts) Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
This is a convenience method that creates an instance of theModelArtifacts.Builder
avoiding the need to create one manually viaModelArtifacts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelArtifacts(ModelArtifacts)
.- Parameters:
modelArtifacts
- a consumer that will call methods onModelArtifacts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelDigests
Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
- Parameters:
modelDigests
- Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDigests
default DescribeCompilationJobResponse.Builder modelDigests(Consumer<ModelDigests.Builder> modelDigests) Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
This is a convenience method that creates an instance of theModelDigests.Builder
avoiding the need to create one manually viaModelDigests.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelDigests(ModelDigests)
.- Parameters:
modelDigests
- a consumer that will call methods onModelDigests.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 an IAM role that Amazon SageMaker assumes to perform the model compilation job.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfig
Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
- Parameters:
inputConfig
- Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfig
default DescribeCompilationJobResponse.Builder inputConfig(Consumer<InputConfig.Builder> inputConfig) Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
This is a convenience method that creates an instance of theInputConfig.Builder
avoiding the need to create one manually viaInputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputConfig(InputConfig)
.- Parameters:
inputConfig
- a consumer that will call methods onInputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
Information about the output location for the compiled model and the target device that the model runs on.
- Parameters:
outputConfig
- Information about the output location for the compiled model and the target device that the model runs on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default DescribeCompilationJobResponse.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig) Information about the output location for the compiled model and the target device that the model runs on.
This is a convenience method that creates an instance of theOutputConfig.Builder
avoiding the need to create one manually viaOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConfig(OutputConfig)
.- Parameters:
outputConfig
- a consumer that will call methods onOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
A VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.
- Parameters:
vpcConfig
- A VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
A VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.
This is a convenience method that creates an instance of theNeoVpcConfig.Builder
avoiding the need to create one manually viaNeoVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(NeoVpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onNeoVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
derivedInformation
Information that SageMaker Neo automatically derived about the model.
- Parameters:
derivedInformation
- Information that SageMaker Neo automatically derived about the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
derivedInformation
default DescribeCompilationJobResponse.Builder derivedInformation(Consumer<DerivedInformation.Builder> derivedInformation) Information that SageMaker Neo automatically derived about the model.
This is a convenience method that creates an instance of theDerivedInformation.Builder
avoiding the need to create one manually viaDerivedInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toderivedInformation(DerivedInformation)
.- Parameters:
derivedInformation
- a consumer that will call methods onDerivedInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-