primaryContainer
- Parameters:
primaryContainer
- The new value for the PrimaryContainer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
Buildable
, CopyableBuilder<Model.Builder,Model>
, SdkBuilder<Model.Builder,Model>
, SdkPojo
Model
containers(Collection<ContainerDefinition> containers)
containers(Consumer<ContainerDefinition.Builder>... containers)
containers(ContainerDefinition... containers)
creationTime(Instant creationTime)
default Model.Builder
deploymentRecommendation(Consumer<DeploymentRecommendation.Builder> deploymentRecommendation)
deploymentRecommendation(DeploymentRecommendation deploymentRecommendation)
enableNetworkIsolation(Boolean enableNetworkIsolation)
executionRoleArn(String executionRoleArn)
default Model.Builder
inferenceExecutionConfig(Consumer<InferenceExecutionConfig.Builder> inferenceExecutionConfig)
inferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
default Model.Builder
primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
primaryContainer(ContainerDefinition primaryContainer)
tags(Collection<Tag> tags)
tags(Consumer<Tag.Builder>... tags)
default Model.Builder
vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
copy
applyMutation, build
equalsBySdkFields, sdkFields
The name of the model.
modelName
- The name of the model.primaryContainer
- The new value for the PrimaryContainer property for this object.ContainerDefinition.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
The containers in the inference pipeline.
containers
- The containers in the inference pipeline.The containers in the inference pipeline.
containers
- The containers in the inference pipeline.The containers in the inference pipeline.
This is a convenience method 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 containers(List<ContainerDefinition>)
.
containers
- a consumer that will call methods on
ContainerDefinition.Builder
inferenceExecutionConfig
- The new value for the InferenceExecutionConfig property for this object.InferenceExecutionConfig.Builder
avoiding the need to create one manually via InferenceExecutionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to inferenceExecutionConfig(InferenceExecutionConfig)
.
inferenceExecutionConfig
- a consumer that will call methods on InferenceExecutionConfig.Builder
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.vpcConfig
- The new value for the VpcConfig property for this object.VpcConfig.Builder
avoiding the need to
create one manually via VpcConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to vpcConfig(VpcConfig)
.
vpcConfig
- a consumer that will call methods on VpcConfig.Builder
A timestamp that indicates when the model was created.
creationTime
- A timestamp that indicates when the model was created.The Amazon Resource Name (ARN) of the model.
modelArn
- The Amazon Resource Name (ARN) of the model.Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
enableNetworkIsolation
- Isolates the model container. No inbound or outbound network calls can be made to or from the model
container.A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
tags
- A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference Guide.A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
tags
- A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference Guide.A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually
via Tag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to tags(List<Tag>)
.
tags
- a consumer that will call methods on
Tag.Builder
A set of recommended deployment configurations for the model.
deploymentRecommendation
- A set of recommended deployment configurations for the model.A set of recommended deployment configurations for the model.
This is a convenience method that creates an instance of theDeploymentRecommendation.Builder
avoiding the need to create one manually via DeploymentRecommendation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to deploymentRecommendation(DeploymentRecommendation)
.
deploymentRecommendation
- a consumer that will call methods on DeploymentRecommendation.Builder