public static interface Model.Builder extends SdkPojo, CopyableBuilder<Model.Builder,Model>
| Modifier and Type | Method and Description |
|---|---|
Model.Builder |
containers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.
|
Model.Builder |
containers(Consumer<ContainerDefinition.Builder>... containers)
The containers in the inference pipeline.
|
Model.Builder |
containers(ContainerDefinition... containers)
The containers in the inference pipeline.
|
Model.Builder |
creationTime(Instant creationTime)
A timestamp that indicates when the model was created.
|
default Model.Builder |
deploymentRecommendation(Consumer<DeploymentRecommendation.Builder> deploymentRecommendation)
A set of recommended deployment configurations for the model.
|
Model.Builder |
deploymentRecommendation(DeploymentRecommendation deploymentRecommendation)
A set of recommended deployment configurations for the model.
|
Model.Builder |
enableNetworkIsolation(Boolean enableNetworkIsolation)
Isolates the model container.
|
Model.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
|
default Model.Builder |
inferenceExecutionConfig(Consumer<InferenceExecutionConfig.Builder> inferenceExecutionConfig)
Sets the value of the InferenceExecutionConfig property for this object.
|
Model.Builder |
inferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
Sets the value of the InferenceExecutionConfig property for this object.
|
Model.Builder |
modelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
|
Model.Builder |
modelName(String modelName)
The name of the model.
|
default Model.Builder |
primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
Sets the value of the PrimaryContainer property for this object.
|
Model.Builder |
primaryContainer(ContainerDefinition primaryContainer)
Sets the value of the PrimaryContainer property for this object.
|
Model.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs associated with the model.
|
Model.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs associated with the model.
|
Model.Builder |
tags(Tag... tags)
A list of key-value pairs associated with the model.
|
default Model.Builder |
vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Sets the value of the VpcConfig property for this object.
|
Model.Builder |
vpcConfig(VpcConfig vpcConfig)
Sets the value of the VpcConfig property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildModel.Builder modelName(String modelName)
The name of the model.
modelName - The name of the model.Model.Builder primaryContainer(ContainerDefinition primaryContainer)
primaryContainer - The new value for the PrimaryContainer property for this object.default Model.Builder primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
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.BuilderprimaryContainer(ContainerDefinition)Model.Builder containers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.
containers - The containers in the inference pipeline.Model.Builder containers(ContainerDefinition... containers)
The containers in the inference pipeline.
containers - The containers in the inference pipeline.Model.Builder containers(Consumer<ContainerDefinition.Builder>... containers)
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.
containers - a consumer that will call methods on
ContainerDefinition.Builder#containers(java.util.Collection) Model.Builder inferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
inferenceExecutionConfig - The new value for the InferenceExecutionConfig property for this object.default Model.Builder inferenceExecutionConfig(Consumer<InferenceExecutionConfig.Builder> inferenceExecutionConfig)
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.BuilderinferenceExecutionConfig(InferenceExecutionConfig)Model.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.Model.Builder vpcConfig(VpcConfig vpcConfig)
vpcConfig - The new value for the VpcConfig property for this object.default Model.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
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.BuildervpcConfig(VpcConfig)Model.Builder creationTime(Instant creationTime)
A timestamp that indicates when the model was created.
creationTime - A timestamp that indicates when the model was created.Model.Builder modelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
modelArn - The Amazon Resource Name (ARN) of the model.Model.Builder enableNetworkIsolation(Boolean enableNetworkIsolation)
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.Model.Builder tags(Collection<Tag> 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.
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.Model.Builder tags(Tag... 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.
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.Model.Builder tags(Consumer<Tag.Builder>... 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.
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.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Model.Builder deploymentRecommendation(DeploymentRecommendation deploymentRecommendation)
A set of recommended deployment configurations for the model.
deploymentRecommendation - A set of recommended deployment configurations for the model.default Model.Builder deploymentRecommendation(Consumer<DeploymentRecommendation.Builder> deploymentRecommendation)
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.BuilderdeploymentRecommendation(DeploymentRecommendation)Copyright © 2023. All rights reserved.