Interface CrossRegionTrafficConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CrossRegionTrafficConfig.Builder,,CrossRegionTrafficConfig> SdkBuilder<CrossRegionTrafficConfig.Builder,,CrossRegionTrafficConfig> SdkPojo
- Enclosing class:
CrossRegionTrafficConfig
@Mutable
@NotThreadSafe
public static interface CrossRegionTrafficConfig.Builder
extends SdkPojo, CopyableBuilder<CrossRegionTrafficConfig.Builder,CrossRegionTrafficConfig>
-
Method Summary
Modifier and TypeMethodDescriptionmaxCrossRegionPercentPerEndpoint(Integer maxCrossRegionPercentPerEndpoint) The percentage of the endpoint's capacity that requests from inference routers in other Amazon Web Services Regions can use.maxInvocationsPerSecondPerInstance(Integer maxInvocationsPerSecondPerInstance) The number of invocations per second that you expect oneInServiceinstance to serve.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
maxInvocationsPerSecondPerInstance
CrossRegionTrafficConfig.Builder maxInvocationsPerSecondPerInstance(Integer maxInvocationsPerSecondPerInstance) The number of invocations per second that you expect one
InServiceinstance to serve. One value applies to every production variant, whatever its instance type.- Parameters:
maxInvocationsPerSecondPerInstance- The number of invocations per second that you expect oneInServiceinstance to serve. One value applies to every production variant, whatever its instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCrossRegionPercentPerEndpoint
CrossRegionTrafficConfig.Builder maxCrossRegionPercentPerEndpoint(Integer maxCrossRegionPercentPerEndpoint) The percentage of the endpoint's capacity that requests from inference routers in other Amazon Web Services Regions can use.
- Parameters:
maxCrossRegionPercentPerEndpoint- The percentage of the endpoint's capacity that requests from inference routers in other Amazon Web Services Regions can use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-