public static interface CreateModelRequest.Builder extends SageMakerRequest.Builder, CopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
Modifier and Type | Method and Description |
---|---|
CreateModelRequest.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and
docker image for deployment on ML compute instances.
|
CreateModelRequest.Builder |
modelName(String modelName)
The name of the new model.
|
default CreateModelRequest.Builder |
primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
The location of the primary docker image containing inference code, associated artifacts, and custom
environment map that the inference code uses when the model is deployed into production.
|
CreateModelRequest.Builder |
primaryContainer(ContainerDefinition primaryContainer)
The location of the primary docker image containing inference code, associated artifacts, and custom
environment map that the inference code uses when the model is deployed into production.
|
CreateModelRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateModelRequest.Builder |
tags(Collection<Tag> tags)
An array of key-value pairs.
|
CreateModelRequest.Builder |
tags(Tag... tags)
An array of key-value pairs.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateModelRequest.Builder modelName(String modelName)
The name of the new model.
modelName
- The name of the new model.CreateModelRequest.Builder primaryContainer(ContainerDefinition primaryContainer)
The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed into production.
primaryContainer
- The location of the primary docker image containing inference code, associated artifacts, and custom
environment map that the inference code uses when the model is deployed into production.default CreateModelRequest.Builder primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed into production.
This is a convenience that creates an instance of theContainerDefinition.Builder
avoiding the need
to create one manually via ContainerDefinition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to primaryContainer(ContainerDefinition)
.primaryContainer
- a consumer that will call methods on ContainerDefinition.Builder
primaryContainer(ContainerDefinition)
CreateModelRequest.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances. Deploying on ML compute instances is part of model hosting. For more information, see Amazon SageMaker Roles.
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model
artifacts and docker image for deployment on ML compute instances. Deploying on ML compute instances
is part of model hosting. For more information, see Amazon SageMaker Roles.CreateModelRequest.Builder tags(Collection<Tag> tags)
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
tags
- An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.CreateModelRequest.Builder tags(Tag... tags)
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
tags
- An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.CreateModelRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.