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.
|
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)
Add an optional request override configuration.
|
CreateCompilationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateCompilationJobRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon SageMaker to perform tasks on your
behalf.
|
default CreateCompilationJobRequest.Builder |
stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)
The duration allowed for model compilation.
|
CreateCompilationJobRequest.Builder |
stoppingCondition(StoppingCondition stoppingCondition)
The duration allowed for model compilation.
|
buildoverrideConfigurationcopyapplyMutation, buildCreateCompilationJobRequest.Builder compilationJobName(String compilationJobName)
A name for the model compilation job. The name must be unique within the AWS Region and within your AWS account.
compilationJobName - A name for the model compilation job. The name must be unique within the AWS Region and within your
AWS account.CreateCompilationJobRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IIAMAM 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 IIAMAM 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 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 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 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 stoppingCondition(StoppingCondition stoppingCondition)
The duration allowed for model compilation.
stoppingCondition - The duration allowed for model compilation.default CreateCompilationJobRequest.Builder stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)
The duration allowed for model compilation.
This is a convenience 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateCompilationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.