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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ModelInfrastructureConfig.Builder
infrastructureType(String infrastructureType)
The inference option to which to deploy your model.ModelInfrastructureConfig.Builder
infrastructureType(ModelInfrastructureType infrastructureType)
The inference option to which to deploy your model.default ModelInfrastructureConfig.Builder
realTimeInferenceConfig(Consumer<RealTimeInferenceConfig.Builder> realTimeInferenceConfig)
The infrastructure configuration for deploying the model to real-time inference.ModelInfrastructureConfig.Builder
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 Detail
-
infrastructureType
ModelInfrastructureConfig.Builder infrastructureType(String 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:
ModelInfrastructureType
,ModelInfrastructureType
-
-
infrastructureType
ModelInfrastructureConfig.Builder infrastructureType(ModelInfrastructureType 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:
ModelInfrastructureType
,ModelInfrastructureType
-
-
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:
realTimeInferenceConfig(RealTimeInferenceConfig)
-
-