Interface ProductionVariantManagedInstanceScaling.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProductionVariantManagedInstanceScaling.Builder,ProductionVariantManagedInstanceScaling>,SdkBuilder<ProductionVariantManagedInstanceScaling.Builder,ProductionVariantManagedInstanceScaling>,SdkPojo
- Enclosing class:
- ProductionVariantManagedInstanceScaling
public static interface ProductionVariantManagedInstanceScaling.Builder extends SdkPojo, CopyableBuilder<ProductionVariantManagedInstanceScaling.Builder,ProductionVariantManagedInstanceScaling>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProductionVariantManagedInstanceScaling.BuildermaxInstanceCount(Integer maxInstanceCount)The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.ProductionVariantManagedInstanceScaling.BuilderminInstanceCount(Integer minInstanceCount)The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.ProductionVariantManagedInstanceScaling.Builderstatus(String status)Indicates whether managed instance scaling is enabled.ProductionVariantManagedInstanceScaling.Builderstatus(ManagedInstanceScalingStatus status)Indicates whether managed instance scaling is enabled.-
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
-
status
ProductionVariantManagedInstanceScaling.Builder status(String status)
Indicates whether managed instance scaling is enabled.
- Parameters:
status- Indicates whether managed instance scaling is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedInstanceScalingStatus,ManagedInstanceScalingStatus
-
status
ProductionVariantManagedInstanceScaling.Builder status(ManagedInstanceScalingStatus status)
Indicates whether managed instance scaling is enabled.
- Parameters:
status- Indicates whether managed instance scaling is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedInstanceScalingStatus,ManagedInstanceScalingStatus
-
minInstanceCount
ProductionVariantManagedInstanceScaling.Builder minInstanceCount(Integer minInstanceCount)
The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.
- Parameters:
minInstanceCount- The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxInstanceCount
ProductionVariantManagedInstanceScaling.Builder maxInstanceCount(Integer maxInstanceCount)
The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.
- Parameters:
maxInstanceCount- The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-