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) |
CreateCompilationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
build
overrideConfiguration
copy
applyMutation, build
CreateCompilationJobRequest.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.Builder
inputConfig(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.Builder
outputConfig(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.Builder
stoppingCondition(StoppingCondition)
CreateCompilationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateCompilationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2018. All rights reserved.