Interface RoutingRuleAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutingRuleAction.Builder,
,RoutingRuleAction> SdkBuilder<RoutingRuleAction.Builder,
,RoutingRuleAction> SdkPojo
- Enclosing class:
RoutingRuleAction
@Mutable
@NotThreadSafe
public static interface RoutingRuleAction.Builder
extends SdkPojo, CopyableBuilder<RoutingRuleAction.Builder,RoutingRuleAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RoutingRuleAction.Builder
invokeApi
(Consumer<RoutingRuleActionInvokeApi.Builder> invokeApi) Sets the value of the InvokeApi property for this object.invokeApi
(RoutingRuleActionInvokeApi invokeApi) Sets the value of the InvokeApi property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
invokeApi
Sets the value of the InvokeApi property for this object.- Parameters:
invokeApi
- The new value for the InvokeApi property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invokeApi
Sets the value of the InvokeApi property for this object. This is a convenience method that creates an instance of theRoutingRuleActionInvokeApi.Builder
avoiding the need to create one manually viaRoutingRuleActionInvokeApi.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvokeApi(RoutingRuleActionInvokeApi)
.- Parameters:
invokeApi
- a consumer that will call methods onRoutingRuleActionInvokeApi.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-