Interface Action.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Action.Builder,,Action> SdkBuilder<Action.Builder,,Action> SdkPojo
- Enclosing class:
Action
@Mutable
@NotThreadSafe
public static interface Action.Builder
extends SdkPojo, CopyableBuilder<Action.Builder,Action>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Action.BuilderconfigurationBundle(Consumer<ConfigurationBundleAction.Builder> configurationBundle) An action that applies a configuration bundle override to the request.configurationBundle(ConfigurationBundleAction configurationBundle) An action that applies a configuration bundle override to the request.default Action.BuilderrouteToTarget(Consumer<RouteToTargetAction.Builder> routeToTarget) An action that routes the request to a specific target.routeToTarget(RouteToTargetAction routeToTarget) An action that routes the request to a specific target.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
-
configurationBundle
An action that applies a configuration bundle override to the request.
- Parameters:
configurationBundle- An action that applies a configuration bundle override to the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationBundle
default Action.Builder configurationBundle(Consumer<ConfigurationBundleAction.Builder> configurationBundle) An action that applies a configuration bundle override to the request.
This is a convenience method that creates an instance of theConfigurationBundleAction.Builderavoiding the need to create one manually viaConfigurationBundleAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationBundle(ConfigurationBundleAction).- Parameters:
configurationBundle- a consumer that will call methods onConfigurationBundleAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeToTarget
An action that routes the request to a specific target.
- Parameters:
routeToTarget- An action that routes the request to a specific target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeToTarget
An action that routes the request to a specific target.
This is a convenience method that creates an instance of theRouteToTargetAction.Builderavoiding the need to create one manually viaRouteToTargetAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouteToTarget(RouteToTargetAction).- Parameters:
routeToTarget- a consumer that will call methods onRouteToTargetAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-