Interface TrafficSplitRequestOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficSplitRequestOptions.Builder,,TrafficSplitRequestOptions> SdkBuilder<TrafficSplitRequestOptions.Builder,,TrafficSplitRequestOptions> SdkPojo
- Enclosing class:
TrafficSplitRequestOptions
@Mutable
@NotThreadSafe
public static interface TrafficSplitRequestOptions.Builder
extends SdkPojo, CopyableBuilder<TrafficSplitRequestOptions.Builder,TrafficSplitRequestOptions>
-
Method Summary
Modifier and TypeMethodDescriptioncloneReadTrafficPercent(Integer cloneReadTrafficPercent) The percentage of search traffic, from 0 to 100, to send to the cloned cluster.The traffic shifting strategy.strategy(TrafficStrategy strategy) The traffic shifting strategy.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
-
strategy
The traffic shifting strategy. The only valid value is
ShiftReadTrafficPercent.- Parameters:
strategy- The traffic shifting strategy. The only valid value isShiftReadTrafficPercent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
strategy
The traffic shifting strategy. The only valid value is
ShiftReadTrafficPercent.- Parameters:
strategy- The traffic shifting strategy. The only valid value isShiftReadTrafficPercent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloneReadTrafficPercent
The percentage of search traffic, from 0 to 100, to send to the cloned cluster. The rest goes to the primary cluster.
- Parameters:
cloneReadTrafficPercent- The percentage of search traffic, from 0 to 100, to send to the cloned cluster. The rest goes to the primary cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-