Class CfnEventSourceMapping.ProvisionedPollerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventSourceMapping.ProvisionedPollerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMapping.ProvisionedPollerConfigProperty>
- Enclosing interface:
CfnEventSourceMapping.ProvisionedPollerConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMapping.ProvisionedPollerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMapping.ProvisionedPollerConfigProperty>
A builder for
CfnEventSourceMapping.ProvisionedPollerConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maximumPollers
(Number maximumPollers) minimumPollers
(Number minimumPollers)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumPollers
@Stability(Stable) public CfnEventSourceMapping.ProvisionedPollerConfigProperty.Builder maximumPollers(Number maximumPollers) - Parameters:
maximumPollers
- The maximum number of event pollers this event source can scale up to.- Returns:
this
-
minimumPollers
@Stability(Stable) public CfnEventSourceMapping.ProvisionedPollerConfigProperty.Builder minimumPollers(Number minimumPollers) - Parameters:
minimumPollers
- The minimum number of event pollers this event source can scale down to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventSourceMapping.ProvisionedPollerConfigProperty>
- Returns:
- a new instance of
CfnEventSourceMapping.ProvisionedPollerConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-