Class ProvisionedPollerConfig
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.ProvisionedPollerConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProvisionedPollerConfig.Builder,ProvisionedPollerConfig>
@Generated("software.amazon.awssdk:codegen") public final class ProvisionedPollerConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProvisionedPollerConfig.Builder,ProvisionedPollerConfig>
The provisioned mode configuration for the event source. Use Provisioned Mode to customize the minimum and maximum number of event pollers for your event source.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProvisionedPollerConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProvisionedPollerConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaximumPollers()The maximum number of event pollers this event source can scale up to.IntegerminimumPollers()The minimum number of event pollers this event source can scale down to.StringpollerGroupName()(Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProvisionedPollerConfig.Builder>serializableBuilderClass()ProvisionedPollerConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
minimumPollers
public final Integer minimumPollers()
The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
- Returns:
- The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
-
maximumPollers
public final Integer maximumPollers()
The maximum number of event pollers this event source can scale up to. For Amazon SQS events source mappings, default is 200, and minimum value allowed is 2. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 200, and minimum value allowed is 1.
- Returns:
- The maximum number of event pollers this event source can scale up to. For Amazon SQS events source mappings, default is 200, and minimum value allowed is 2. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 200, and minimum value allowed is 1.
-
pollerGroupName
public final String pollerGroupName()
(Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
- Returns:
- (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
-
toBuilder
public ProvisionedPollerConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProvisionedPollerConfig.Builder,ProvisionedPollerConfig>
-
builder
public static ProvisionedPollerConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProvisionedPollerConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-