Interface InferenceComponentContainerSpecificationSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InferenceComponentContainerSpecificationSummary.Builder,
,InferenceComponentContainerSpecificationSummary> SdkBuilder<InferenceComponentContainerSpecificationSummary.Builder,
,InferenceComponentContainerSpecificationSummary> SdkPojo
- Enclosing class:
InferenceComponentContainerSpecificationSummary
public static interface InferenceComponentContainerSpecificationSummary.Builder
extends SdkPojo, CopyableBuilder<InferenceComponentContainerSpecificationSummary.Builder,InferenceComponentContainerSpecificationSummary>
-
Method Summary
Modifier and TypeMethodDescriptionartifactUrl
(String artifactUrl) The Amazon S3 path where the model artifacts are stored.deployedImage
(Consumer<DeployedImage.Builder> deployedImage) Sets the value of the DeployedImage property for this object.deployedImage
(DeployedImage deployedImage) Sets the value of the DeployedImage property for this object.environment
(Map<String, String> environment) The environment variables to set in the Docker container.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, sdkFields
-
Method Details
-
deployedImage
Sets the value of the DeployedImage property for this object.- Parameters:
deployedImage
- The new value for the DeployedImage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployedImage
default InferenceComponentContainerSpecificationSummary.Builder deployedImage(Consumer<DeployedImage.Builder> deployedImage) Sets the value of the DeployedImage property for this object. This is a convenience method that creates an instance of theDeployedImage.Builder
avoiding the need to create one manually viaDeployedImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeployedImage(DeployedImage)
.- Parameters:
deployedImage
- a consumer that will call methods onDeployedImage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
artifactUrl
The Amazon S3 path where the model artifacts are stored.
- Parameters:
artifactUrl
- The Amazon S3 path where the model artifacts are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
The environment variables to set in the Docker container.
- Parameters:
environment
- The environment variables to set in the Docker container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-