Interface NotificationTargetActions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationTargetActions.Builder,
,NotificationTargetActions> SdkBuilder<NotificationTargetActions.Builder,
,NotificationTargetActions> SdkPojo
- Enclosing class:
NotificationTargetActions
public static interface NotificationTargetActions.Builder
extends SdkPojo, CopyableBuilder<NotificationTargetActions.Builder,NotificationTargetActions>
-
Method Summary
Modifier and TypeMethodDescriptionlambdaAction
(Consumer<LambdaAction.Builder> lambdaAction) Sets the value of the LambdaAction property for this object.lambdaAction
(LambdaAction lambdaAction) Sets the value of the LambdaAction 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, sdkFields
-
Method Details
-
lambdaAction
Sets the value of the LambdaAction property for this object.- Parameters:
lambdaAction
- The new value for the LambdaAction property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaAction
Sets the value of the LambdaAction property for this object. This is a convenience method that creates an instance of theLambdaAction.Builder
avoiding the need to create one manually viaLambdaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaAction(LambdaAction)
.- Parameters:
lambdaAction
- a consumer that will call methods onLambdaAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-