public static final class CfnEventSourceMapping.EndpointsProperty.Builder
extends java.lang.Object
CfnEventSourceMapping.EndpointsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEventSourceMapping.EndpointsProperty |
build()
Builds the configured instance.
|
CfnEventSourceMapping.EndpointsProperty.Builder |
kafkaBootstrapServers(java.util.List<java.lang.String> kafkaBootstrapServers)
Sets the value of
CfnEventSourceMapping.EndpointsProperty.getKafkaBootstrapServers() |
public CfnEventSourceMapping.EndpointsProperty.Builder kafkaBootstrapServers(java.util.List<java.lang.String> kafkaBootstrapServers)
CfnEventSourceMapping.EndpointsProperty.getKafkaBootstrapServers()
kafkaBootstrapServers
- The list of bootstrap servers for your Kafka brokers in the following format: `"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]` .this
public CfnEventSourceMapping.EndpointsProperty build()
CfnEventSourceMapping.EndpointsProperty
java.lang.NullPointerException
- if any required attribute was not provided