Interface AmazonManagedKafkaEventSourceConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AmazonManagedKafkaEventSourceConfig.Builder,AmazonManagedKafkaEventSourceConfig>
,SdkBuilder<AmazonManagedKafkaEventSourceConfig.Builder,AmazonManagedKafkaEventSourceConfig>
,SdkPojo
- Enclosing class:
- AmazonManagedKafkaEventSourceConfig
@Mutable @NotThreadSafe public static interface AmazonManagedKafkaEventSourceConfig.Builder extends SdkPojo, CopyableBuilder<AmazonManagedKafkaEventSourceConfig.Builder,AmazonManagedKafkaEventSourceConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AmazonManagedKafkaEventSourceConfig.Builder
consumerGroupId(String consumerGroupId)
The identifier for the Kafka consumer group to join.default AmazonManagedKafkaEventSourceConfig.Builder
schemaRegistryConfig(Consumer<KafkaSchemaRegistryConfig.Builder> schemaRegistryConfig)
Specific configuration settings for a Kafka schema registry.AmazonManagedKafkaEventSourceConfig.Builder
schemaRegistryConfig(KafkaSchemaRegistryConfig schemaRegistryConfig)
Specific configuration settings for a Kafka schema registry.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
consumerGroupId
AmazonManagedKafkaEventSourceConfig.Builder consumerGroupId(String consumerGroupId)
The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID.
- Parameters:
consumerGroupId
- The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaRegistryConfig
AmazonManagedKafkaEventSourceConfig.Builder schemaRegistryConfig(KafkaSchemaRegistryConfig schemaRegistryConfig)
Specific configuration settings for a Kafka schema registry.
- Parameters:
schemaRegistryConfig
- Specific configuration settings for a Kafka schema registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaRegistryConfig
default AmazonManagedKafkaEventSourceConfig.Builder schemaRegistryConfig(Consumer<KafkaSchemaRegistryConfig.Builder> schemaRegistryConfig)
Specific configuration settings for a Kafka schema registry.
This is a convenience method that creates an instance of theKafkaSchemaRegistryConfig.Builder
avoiding the need to create one manually viaKafkaSchemaRegistryConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaRegistryConfig(KafkaSchemaRegistryConfig)
.- Parameters:
schemaRegistryConfig
- a consumer that will call methods onKafkaSchemaRegistryConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schemaRegistryConfig(KafkaSchemaRegistryConfig)
-
-