Interface EventBridgeDestinationProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventBridgeDestinationProperties.Builder,
,EventBridgeDestinationProperties> SdkBuilder<EventBridgeDestinationProperties.Builder,
,EventBridgeDestinationProperties> SdkPojo
- Enclosing class:
EventBridgeDestinationProperties
public static interface EventBridgeDestinationProperties.Builder
extends SdkPojo, CopyableBuilder<EventBridgeDestinationProperties.Builder,EventBridgeDestinationProperties>
-
Method Summary
Modifier and TypeMethodDescriptionerrorHandlingConfig
(Consumer<ErrorHandlingConfig.Builder> errorHandlingConfig) Sets the value of the ErrorHandlingConfig property for this object.errorHandlingConfig
(ErrorHandlingConfig errorHandlingConfig) Sets the value of the ErrorHandlingConfig property for this object.The object specified in the Amazon EventBridge flow destination.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
-
object
The object specified in the Amazon EventBridge flow destination.
- Parameters:
object
- The object specified in the Amazon EventBridge flow destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorHandlingConfig
EventBridgeDestinationProperties.Builder errorHandlingConfig(ErrorHandlingConfig errorHandlingConfig) Sets the value of the ErrorHandlingConfig property for this object.- Parameters:
errorHandlingConfig
- The new value for the ErrorHandlingConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorHandlingConfig
default EventBridgeDestinationProperties.Builder errorHandlingConfig(Consumer<ErrorHandlingConfig.Builder> errorHandlingConfig) Sets the value of the ErrorHandlingConfig property for this object. This is a convenience method that creates an instance of theErrorHandlingConfig.Builder
avoiding the need to create one manually viaErrorHandlingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorHandlingConfig(ErrorHandlingConfig)
.- Parameters:
errorHandlingConfig
- a consumer that will call methods onErrorHandlingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-