Interface HandlerConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HandlerConfig.Builder,,HandlerConfig> SdkBuilder<HandlerConfig.Builder,,HandlerConfig> SdkPojo
- Enclosing class:
HandlerConfig
@Mutable
@NotThreadSafe
public static interface HandlerConfig.Builder
extends SdkPojo, CopyableBuilder<HandlerConfig.Builder,HandlerConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe behavior for the handler.behavior(HandlerBehavior behavior) The behavior for the handler.default HandlerConfig.Builderintegration(Consumer<Integration.Builder> integration) The integration data source configuration for the handler.integration(Integration integration) The integration data source configuration for the handler.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
-
behavior
The behavior for the handler.
- Parameters:
behavior- The behavior for the handler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
behavior
The behavior for the handler.
- Parameters:
behavior- The behavior for the handler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
integration
The integration data source configuration for the handler.
- Parameters:
integration- The integration data source configuration for the handler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integration
The integration data source configuration for the handler.
This is a convenience method that creates an instance of theIntegration.Builderavoiding the need to create one manually viaIntegration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegration(Integration).- Parameters:
integration- a consumer that will call methods onIntegration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-