public static interface DescribeModelResponse.Builder extends SageMakerResponse.Builder, CopyableBuilder<DescribeModelResponse.Builder,DescribeModelResponse>
Modifier and Type | Method and Description |
---|---|
DescribeModelResponse.Builder |
creationTime(Instant creationTime)
A timestamp that shows when the model was created.
|
DescribeModelResponse.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
|
DescribeModelResponse.Builder |
modelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
|
DescribeModelResponse.Builder |
modelName(String modelName)
Name of the Amazon SageMaker model.
|
default DescribeModelResponse.Builder |
primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the
inference code uses when it is deployed in production.
|
DescribeModelResponse.Builder |
primaryContainer(ContainerDefinition primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the
inference code uses when it is deployed in production.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeModelResponse.Builder modelName(String modelName)
Name of the Amazon SageMaker model.
modelName
- Name of the Amazon SageMaker model.DescribeModelResponse.Builder primaryContainer(ContainerDefinition primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
primaryContainer
- The location of the primary inference code, associated artifacts, and custom environment map that the
inference code uses when it is deployed in production.default DescribeModelResponse.Builder primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in 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)
DescribeModelResponse.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that you specified for the model.DescribeModelResponse.Builder creationTime(Instant creationTime)
A timestamp that shows when the model was created.
creationTime
- A timestamp that shows when the model was created.DescribeModelResponse.Builder modelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
modelArn
- The Amazon Resource Name (ARN) of the model.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.