Interface WeightedOverride.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WeightedOverride.Builder,,WeightedOverride> SdkBuilder<WeightedOverride.Builder,,WeightedOverride> SdkPojo
- Enclosing class:
WeightedOverride
@Mutable
@NotThreadSafe
public static interface WeightedOverride.Builder
extends SdkPojo, CopyableBuilder<WeightedOverride.Builder,WeightedOverride>
-
Method Summary
Modifier and TypeMethodDescriptiontrafficSplit(Collection<TrafficSplitEntry> trafficSplit) The traffic split entries defining how traffic is distributed between configuration bundle versions.trafficSplit(Consumer<TrafficSplitEntry.Builder>... trafficSplit) The traffic split entries defining how traffic is distributed between configuration bundle versions.trafficSplit(TrafficSplitEntry... trafficSplit) The traffic split entries defining how traffic is distributed between configuration bundle versions.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
-
trafficSplit
The traffic split entries defining how traffic is distributed between configuration bundle versions.
- Parameters:
trafficSplit- The traffic split entries defining how traffic is distributed between configuration bundle versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSplit
The traffic split entries defining how traffic is distributed between configuration bundle versions.
- Parameters:
trafficSplit- The traffic split entries defining how traffic is distributed between configuration bundle versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficSplit
The traffic split entries defining how traffic is distributed between configuration bundle versions.
This is a convenience method that creates an instance of theTrafficSplitEntry.Builderavoiding the need to create one manually viaTrafficSplitEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrafficSplit(List<TrafficSplitEntry>).- Parameters:
trafficSplit- a consumer that will call methods onTrafficSplitEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-