Interface InferenceResourceConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InferenceResourceConfig.Builder,InferenceResourceConfig>,SdkBuilder<InferenceResourceConfig.Builder,InferenceResourceConfig>,SdkPojo
- Enclosing class:
- InferenceResourceConfig
public static interface InferenceResourceConfig.Builder extends SdkPojo, CopyableBuilder<InferenceResourceConfig.Builder,InferenceResourceConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InferenceResourceConfig.BuilderinstanceCount(Integer instanceCount)The number of instances to use.InferenceResourceConfig.BuilderinstanceType(String instanceType)The type of instance that is used to perform model inference.InferenceResourceConfig.BuilderinstanceType(InferenceInstanceType instanceType)The type of instance that is used to perform model 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceType
InferenceResourceConfig.Builder instanceType(String instanceType)
The type of instance that is used to perform model inference.
- Parameters:
instanceType- The type of instance that is used to perform model inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceInstanceType,InferenceInstanceType
-
instanceType
InferenceResourceConfig.Builder instanceType(InferenceInstanceType instanceType)
The type of instance that is used to perform model inference.
- Parameters:
instanceType- The type of instance that is used to perform model inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceInstanceType,InferenceInstanceType
-
instanceCount
InferenceResourceConfig.Builder instanceCount(Integer instanceCount)
The number of instances to use.
- Parameters:
instanceCount- The number of instances to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-