Interface DescribeCompilationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCompilationJobResponse.Builder,DescribeCompilationJobResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeCompilationJobResponse.Builder,DescribeCompilationJobResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeCompilationJobResponse
public static interface DescribeCompilationJobResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeCompilationJobResponse.Builder,DescribeCompilationJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeCompilationJobResponse.Builder
compilationEndTime(Instant compilationEndTime)
The time when the model compilation job on a compilation job instance ended.DescribeCompilationJobResponse.Builder
compilationJobArn(String compilationJobArn)
The Amazon Resource Name (ARN) of the model compilation job.DescribeCompilationJobResponse.Builder
compilationJobName(String compilationJobName)
The name of the model compilation job.DescribeCompilationJobResponse.Builder
compilationJobStatus(String compilationJobStatus)
The status of the model compilation job.DescribeCompilationJobResponse.Builder
compilationJobStatus(CompilationJobStatus compilationJobStatus)
The status of the model compilation job.DescribeCompilationJobResponse.Builder
compilationStartTime(Instant compilationStartTime)
The time when the model compilation job started theCompilationJob
instances.DescribeCompilationJobResponse.Builder
creationTime(Instant creationTime)
The time that the model compilation job was created.default DescribeCompilationJobResponse.Builder
derivedInformation(Consumer<DerivedInformation.Builder> derivedInformation)
Information that SageMaker Neo automatically derived about the model.DescribeCompilationJobResponse.Builder
derivedInformation(DerivedInformation derivedInformation)
Information that SageMaker Neo automatically derived about the model.DescribeCompilationJobResponse.Builder
failureReason(String failureReason)
If a model compilation job failed, the reason it failed.DescribeCompilationJobResponse.Builder
inferenceImage(String inferenceImage)
The inference image to use when compiling a model.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.DescribeCompilationJobResponse.Builder
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.DescribeCompilationJobResponse.Builder
lastModifiedTime(Instant lastModifiedTime)
The time that the status of the model compilation job was last modified.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.DescribeCompilationJobResponse.Builder
modelArtifacts(ModelArtifacts modelArtifacts)
Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.default DescribeCompilationJobResponse.Builder
modelDigests(Consumer<ModelDigests.Builder> modelDigests)
Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.DescribeCompilationJobResponse.Builder
modelDigests(ModelDigests modelDigests)
Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.DescribeCompilationJobResponse.Builder
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.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.DescribeCompilationJobResponse.Builder
outputConfig(OutputConfig outputConfig)
Information about the output location for the compiled model and the target device that the model runs on.DescribeCompilationJobResponse.Builder
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.default DescribeCompilationJobResponse.Builder
stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)
Specifies a limit to how long a model compilation job can run.DescribeCompilationJobResponse.Builder
stoppingCondition(StoppingCondition stoppingCondition)
Specifies a limit to how long a model compilation job can run.default DescribeCompilationJobResponse.Builder
vpcConfig(Consumer<NeoVpcConfig.Builder> vpcConfig)
A VpcConfig object that specifies the VPC that you want your compilation job to connect to.DescribeCompilationJobResponse.Builder
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 Detail
-
compilationJobName
DescribeCompilationJobResponse.Builder compilationJobName(String 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
DescribeCompilationJobResponse.Builder compilationJobArn(String 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
DescribeCompilationJobResponse.Builder compilationJobStatus(String 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
,CompilationJobStatus
-
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:
CompilationJobStatus
,CompilationJobStatus
-
compilationStartTime
DescribeCompilationJobResponse.Builder compilationStartTime(Instant 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
DescribeCompilationJobResponse.Builder compilationEndTime(Instant 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
DescribeCompilationJobResponse.Builder stoppingCondition(StoppingCondition 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:
stoppingCondition(StoppingCondition)
-
inferenceImage
DescribeCompilationJobResponse.Builder inferenceImage(String 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
DescribeCompilationJobResponse.Builder 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.
- 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
DescribeCompilationJobResponse.Builder creationTime(Instant 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
DescribeCompilationJobResponse.Builder lastModifiedTime(Instant 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
DescribeCompilationJobResponse.Builder failureReason(String 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
DescribeCompilationJobResponse.Builder modelArtifacts(ModelArtifacts 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:
modelArtifacts(ModelArtifacts)
-
modelDigests
DescribeCompilationJobResponse.Builder modelDigests(ModelDigests 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:
modelDigests(ModelDigests)
-
roleArn
DescribeCompilationJobResponse.Builder roleArn(String 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
DescribeCompilationJobResponse.Builder 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.
- 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:
inputConfig(InputConfig)
-
outputConfig
DescribeCompilationJobResponse.Builder outputConfig(OutputConfig 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:
outputConfig(OutputConfig)
-
vpcConfig
DescribeCompilationJobResponse.Builder vpcConfig(NeoVpcConfig 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
default DescribeCompilationJobResponse.Builder vpcConfig(Consumer<NeoVpcConfig.Builder> 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:
vpcConfig(NeoVpcConfig)
-
derivedInformation
DescribeCompilationJobResponse.Builder derivedInformation(DerivedInformation 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:
derivedInformation(DerivedInformation)
-
-