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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaLambdaAction.builder().When the
Consumercompletes,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:
-