Interface InferenceComponentCapacitySize.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InferenceComponentCapacitySize.Builder,InferenceComponentCapacitySize>,SdkBuilder<InferenceComponentCapacitySize.Builder,InferenceComponentCapacitySize>,SdkPojo
- Enclosing class:
- InferenceComponentCapacitySize
@Mutable @NotThreadSafe public static interface InferenceComponentCapacitySize.Builder extends SdkPojo, CopyableBuilder<InferenceComponentCapacitySize.Builder,InferenceComponentCapacitySize>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InferenceComponentCapacitySize.Buildertype(String type)Specifies the endpoint capacity type.InferenceComponentCapacitySize.Buildertype(InferenceComponentCapacitySizeType type)Specifies the endpoint capacity type.InferenceComponentCapacitySize.Buildervalue(Integer value)Defines the capacity size, either as a number of inference component copies or a capacity percentage.-
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
-
type
InferenceComponentCapacitySize.Builder type(String type)
Specifies the endpoint capacity type.
- COPY_COUNT
-
The endpoint activates based on the number of inference component copies.
- CAPACITY_PERCENT
-
The endpoint activates based on the specified percentage of capacity.
- Parameters:
type- Specifies the endpoint capacity type.- COPY_COUNT
-
The endpoint activates based on the number of inference component copies.
- CAPACITY_PERCENT
-
The endpoint activates based on the specified percentage of capacity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceComponentCapacitySizeType,InferenceComponentCapacitySizeType
-
type
InferenceComponentCapacitySize.Builder type(InferenceComponentCapacitySizeType type)
Specifies the endpoint capacity type.
- COPY_COUNT
-
The endpoint activates based on the number of inference component copies.
- CAPACITY_PERCENT
-
The endpoint activates based on the specified percentage of capacity.
- Parameters:
type- Specifies the endpoint capacity type.- COPY_COUNT
-
The endpoint activates based on the number of inference component copies.
- CAPACITY_PERCENT
-
The endpoint activates based on the specified percentage of capacity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceComponentCapacitySizeType,InferenceComponentCapacitySizeType
-
value
InferenceComponentCapacitySize.Builder value(Integer value)
Defines the capacity size, either as a number of inference component copies or a capacity percentage.
- Parameters:
value- Defines the capacity size, either as a number of inference component copies or a capacity percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-