public static interface CreateCompilationJobRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateCompilationJobRequest.Builder,CreateCompilationJobRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateCompilationJobRequest.Builder |
compilationJobName(String compilationJobName)
A name for the model compilation job.
|
default CreateCompilationJobRequest.Builder |
inputConfig(Consumer<InputConfig.Builder> inputConfig)
Provides information about the location of input model artifacts, the name and shape of the expected data
inputs, and the framework in which the model was trained.
|
CreateCompilationJobRequest.Builder |
inputConfig(InputConfig inputConfig)
Provides information about the location of input model artifacts, the name and shape of the expected data
inputs, and the framework in which the model was trained.
|
CreateCompilationJobRequest.Builder |
modelPackageVersionArn(String modelPackageVersionArn)
The Amazon Resource Name (ARN) of a versioned model package.
|
default CreateCompilationJobRequest.Builder |
outputConfig(Consumer<OutputConfig.Builder> outputConfig)
Provides information about the output location for the compiled model and the target device the model runs
on.
|
CreateCompilationJobRequest.Builder |
outputConfig(OutputConfig outputConfig)
Provides information about the output location for the compiled model and the target device the model runs
on.
|
CreateCompilationJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateCompilationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateCompilationJobRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
default CreateCompilationJobRequest.Builder |
stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)
Specifies a limit to how long a model compilation job can run.
|
CreateCompilationJobRequest.Builder |
stoppingCondition(StoppingCondition stoppingCondition)
Specifies a limit to how long a model compilation job can run.
|
CreateCompilationJobRequest.Builder |
tags(Collection<Tag> tags)
An array of key-value pairs.
|
CreateCompilationJobRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs.
|
CreateCompilationJobRequest.Builder |
tags(Tag... tags)
An array of key-value pairs.
|
default CreateCompilationJobRequest.Builder |
vpcConfig(Consumer<NeoVpcConfig.Builder> vpcConfig)
A VpcConfig object that specifies the VPC that you want your compilation job to connect to.
|
CreateCompilationJobRequest.Builder |
vpcConfig(NeoVpcConfig vpcConfig)
A VpcConfig object that specifies the VPC that you want your compilation job to connect to.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCompilationJobRequest.Builder compilationJobName(String compilationJobName)
A name for the model compilation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.
compilationJobName - A name for the model compilation job. The name must be unique within the Amazon Web Services Region
and within your Amazon Web Services account.CreateCompilationJobRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
During model compilation, Amazon SageMaker needs your permission to:
Read input data from an S3 bucket
Write model artifacts to an S3 bucket
Write logs to Amazon CloudWatch Logs
Publish metrics to Amazon CloudWatch
You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the
caller of this API must have the iam:PassRole permission. For more information, see Amazon SageMaker Roles.
roleArn - The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your
behalf.
During model compilation, Amazon SageMaker needs your permission to:
Read input data from an S3 bucket
Write model artifacts to an S3 bucket
Write logs to Amazon CloudWatch Logs
Publish metrics to Amazon CloudWatch
You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker,
the caller of this API must have the iam:PassRole permission. For more information, see
Amazon SageMaker
Roles.
CreateCompilationJobRequest.Builder modelPackageVersionArn(String modelPackageVersionArn)
The Amazon Resource Name (ARN) of a versioned model package. Provide either a
ModelPackageVersionArn or an InputConfig object in the request syntax. The presence
of both objects in the CreateCompilationJob request will return an exception.
modelPackageVersionArn - The Amazon Resource Name (ARN) of a versioned model package. Provide either a
ModelPackageVersionArn or an InputConfig object in the request syntax. The
presence of both objects in the CreateCompilationJob request will return an exception.CreateCompilationJobRequest.Builder inputConfig(InputConfig inputConfig)
Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
inputConfig - Provides information about the location of input model artifacts, the name and shape of the expected
data inputs, and the framework in which the model was trained.default CreateCompilationJobRequest.Builder inputConfig(Consumer<InputConfig.Builder> inputConfig)
Provides information about the location of 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 via InputConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to inputConfig(InputConfig).inputConfig - a consumer that will call methods on InputConfig.BuilderinputConfig(InputConfig)CreateCompilationJobRequest.Builder outputConfig(OutputConfig outputConfig)
Provides information about the output location for the compiled model and the target device the model runs on.
outputConfig - Provides information about the output location for the compiled model and the target device the model
runs on.default CreateCompilationJobRequest.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig)
Provides information about the output location for the compiled model and the target device the model runs on.
This is a convenience method that creates an instance of theOutputConfig.Builder avoiding the need
to create one manually via OutputConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to outputConfig(OutputConfig).outputConfig - a consumer that will call methods on OutputConfig.BuilderoutputConfig(OutputConfig)CreateCompilationJobRequest.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.
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.default CreateCompilationJobRequest.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 via NeoVpcConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to vpcConfig(NeoVpcConfig).vpcConfig - a consumer that will call methods on NeoVpcConfig.BuildervpcConfig(NeoVpcConfig)CreateCompilationJobRequest.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.
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.default CreateCompilationJobRequest.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 via StoppingCondition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to stoppingCondition(StoppingCondition).stoppingCondition - a consumer that will call methods on StoppingCondition.BuilderstoppingCondition(StoppingCondition)CreateCompilationJobRequest.Builder tags(Collection<Tag> tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
Resources.CreateCompilationJobRequest.Builder tags(Tag... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
Resources.CreateCompilationJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
This is a convenience method that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateCompilationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCompilationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.