Interface Model.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Model.Builder,Model>
,SdkBuilder<Model.Builder,Model>
,SdkPojo
- Enclosing class:
- Model
public static interface Model.Builder extends SdkPojo, CopyableBuilder<Model.Builder,Model>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
modelName
Model.Builder modelName(String modelName)
The name of the model.
- Parameters:
modelName
- The name of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryContainer
Model.Builder primaryContainer(ContainerDefinition primaryContainer)
Sets the value of the PrimaryContainer property for this object.- 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.
-
primaryContainer
default Model.Builder primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
Sets the value of the PrimaryContainer property for this object. This is a convenience method that creates an instance of theContainerDefinition.Builder
avoiding the need to create one manually viaContainerDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprimaryContainer(ContainerDefinition)
.- Parameters:
primaryContainer
- a consumer that will call methods onContainerDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primaryContainer(ContainerDefinition)
-
containers
Model.Builder containers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.
- Parameters:
containers
- The containers in the inference pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
Model.Builder containers(ContainerDefinition... containers)
The containers in the inference pipeline.
- Parameters:
containers
- The containers in the inference pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
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 viaContainerDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#containers(List
.) - Parameters:
containers
- a consumer that will call methods onContainerDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#containers(java.util.Collection
)
-
inferenceExecutionConfig
Model.Builder inferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
Sets the value of the InferenceExecutionConfig property for this object.- Parameters:
inferenceExecutionConfig
- The new value for the InferenceExecutionConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceExecutionConfig
default Model.Builder inferenceExecutionConfig(Consumer<InferenceExecutionConfig.Builder> inferenceExecutionConfig)
Sets the value of the InferenceExecutionConfig property for this object. This is a convenience method that creates an instance of theInferenceExecutionConfig.Builder
avoiding the need to create one manually viaInferenceExecutionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinferenceExecutionConfig(InferenceExecutionConfig)
.- Parameters:
inferenceExecutionConfig
- a consumer that will call methods onInferenceExecutionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inferenceExecutionConfig(InferenceExecutionConfig)
-
executionRoleArn
Model.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that you specified for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
Model.Builder vpcConfig(VpcConfig vpcConfig)
Sets the value of the VpcConfig property for this object.- Parameters:
vpcConfig
- The new value for the VpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default Model.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Sets the value of the VpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
creationTime
Model.Builder creationTime(Instant creationTime)
A timestamp that indicates when the model was created.
- Parameters:
creationTime
- A timestamp that indicates when the model was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArn
Model.Builder modelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
- Parameters:
modelArn
- The Amazon Resource Name (ARN) of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableNetworkIsolation
Model.Builder enableNetworkIsolation(Boolean enableNetworkIsolation)
Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
- Parameters:
enableNetworkIsolation
- Isolates the model container. No inbound or outbound network calls can be made to or from the model container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
deploymentRecommendation
Model.Builder deploymentRecommendation(DeploymentRecommendation deploymentRecommendation)
A set of recommended deployment configurations for the model.
- Parameters:
deploymentRecommendation
- A set of recommended deployment configurations for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentRecommendation
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 viaDeploymentRecommendation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentRecommendation(DeploymentRecommendation)
.- Parameters:
deploymentRecommendation
- a consumer that will call methods onDeploymentRecommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deploymentRecommendation(DeploymentRecommendation)
-
-