Interface ConfigurationBundleAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurationBundleAction.Builder,,ConfigurationBundleAction> SdkBuilder<ConfigurationBundleAction.Builder,,ConfigurationBundleAction> SdkPojo
- Enclosing class:
ConfigurationBundleAction
@Mutable
@NotThreadSafe
public static interface ConfigurationBundleAction.Builder
extends SdkPojo, CopyableBuilder<ConfigurationBundleAction.Builder,ConfigurationBundleAction>
-
Method Summary
Modifier and TypeMethodDescriptionstaticOverride(Consumer<StaticOverride.Builder> staticOverride) A static configuration bundle override that applies a single bundle version to all matching requests.staticOverride(StaticOverride staticOverride) A static configuration bundle override that applies a single bundle version to all matching requests.weightedOverride(Consumer<WeightedOverride.Builder> weightedOverride) A weighted configuration bundle override that splits traffic between multiple bundle versions based on configured weights.weightedOverride(WeightedOverride weightedOverride) A weighted configuration bundle override that splits traffic between multiple bundle versions based on configured weights.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
-
staticOverride
A static configuration bundle override that applies a single bundle version to all matching requests.
- Parameters:
staticOverride- A static configuration bundle override that applies a single bundle version to all matching requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticOverride
default ConfigurationBundleAction.Builder staticOverride(Consumer<StaticOverride.Builder> staticOverride) A static configuration bundle override that applies a single bundle version to all matching requests.
This is a convenience method that creates an instance of theStaticOverride.Builderavoiding the need to create one manually viaStaticOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostaticOverride(StaticOverride).- Parameters:
staticOverride- a consumer that will call methods onStaticOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
weightedOverride
A weighted configuration bundle override that splits traffic between multiple bundle versions based on configured weights.
- Parameters:
weightedOverride- A weighted configuration bundle override that splits traffic between multiple bundle versions based on configured weights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weightedOverride
default ConfigurationBundleAction.Builder weightedOverride(Consumer<WeightedOverride.Builder> weightedOverride) A weighted configuration bundle override that splits traffic between multiple bundle versions based on configured weights.
This is a convenience method that creates an instance of theWeightedOverride.Builderavoiding the need to create one manually viaWeightedOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweightedOverride(WeightedOverride).- Parameters:
weightedOverride- a consumer that will call methods onWeightedOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-