Interface KafkaExporterConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KafkaExporterConfiguration.Builder,,KafkaExporterConfiguration> SdkBuilder<KafkaExporterConfiguration.Builder,,KafkaExporterConfiguration> SdkPojo
- Enclosing class:
KafkaExporterConfiguration
@Mutable
@NotThreadSafe
public static interface KafkaExporterConfiguration.Builder
extends SdkPojo, CopyableBuilder<KafkaExporterConfiguration.Builder,KafkaExporterConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn(String clusterArn) The Amazon Resource Name (ARN) of the Amazon MSK cluster.consumerGroupFilter(String consumerGroupFilter) An anchored RE2 regular expression that selects the Kafka consumer groups to monitor.topicFilter(String topicFilter) An anchored RE2 regular expression that selects the Kafka topics to monitor.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
-
clusterArn
The Amazon Resource Name (ARN) of the Amazon MSK cluster.
- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the Amazon MSK cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicFilter
An anchored RE2 regular expression that selects the Kafka topics to monitor. The expression must start with
^and end with$. If omitted, the default is^.*$, which selects all topics.- Parameters:
topicFilter- An anchored RE2 regular expression that selects the Kafka topics to monitor. The expression must start with^and end with$. If omitted, the default is^.*$, which selects all topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupFilter
An anchored RE2 regular expression that selects the Kafka consumer groups to monitor. The expression must start with
^and end with$. If omitted, the default is^.*$, which selects all consumer groups.- Parameters:
consumerGroupFilter- An anchored RE2 regular expression that selects the Kafka consumer groups to monitor. The expression must start with^and end with$. If omitted, the default is^.*$, which selects all consumer groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-