Interface ModelInfrastructureConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModelInfrastructureConfig.Builder,
,ModelInfrastructureConfig> SdkBuilder<ModelInfrastructureConfig.Builder,
,ModelInfrastructureConfig> SdkPojo
- Enclosing class:
ModelInfrastructureConfig
public static interface ModelInfrastructureConfig.Builder
extends SdkPojo, CopyableBuilder<ModelInfrastructureConfig.Builder,ModelInfrastructureConfig>
-
Method Summary
Modifier and TypeMethodDescriptioninfrastructureType
(String infrastructureType) The inference option to which to deploy your model.infrastructureType
(ModelInfrastructureType infrastructureType) The inference option to which to deploy your model.realTimeInferenceConfig
(Consumer<RealTimeInferenceConfig.Builder> realTimeInferenceConfig) The infrastructure configuration for deploying the model to real-time inference.realTimeInferenceConfig
(RealTimeInferenceConfig realTimeInferenceConfig) The infrastructure configuration for deploying the model to real-time inference.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
-
infrastructureType
The inference option to which to deploy your model. Possible values are the following:
-
RealTime
: Deploy to real-time inference.
- Parameters:
infrastructureType
- The inference option to which to deploy your model. Possible values are the following:-
RealTime
: Deploy to real-time inference.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
infrastructureType
The inference option to which to deploy your model. Possible values are the following:
-
RealTime
: Deploy to real-time inference.
- Parameters:
infrastructureType
- The inference option to which to deploy your model. Possible values are the following:-
RealTime
: Deploy to real-time inference.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
realTimeInferenceConfig
ModelInfrastructureConfig.Builder realTimeInferenceConfig(RealTimeInferenceConfig realTimeInferenceConfig) The infrastructure configuration for deploying the model to real-time inference.
- Parameters:
realTimeInferenceConfig
- The infrastructure configuration for deploying the model to real-time inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
realTimeInferenceConfig
default ModelInfrastructureConfig.Builder realTimeInferenceConfig(Consumer<RealTimeInferenceConfig.Builder> realTimeInferenceConfig) The infrastructure configuration for deploying the model to real-time inference.
This is a convenience method that creates an instance of theRealTimeInferenceConfig.Builder
avoiding the need to create one manually viaRealTimeInferenceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torealTimeInferenceConfig(RealTimeInferenceConfig)
.- Parameters:
realTimeInferenceConfig
- a consumer that will call methods onRealTimeInferenceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-