Class CfnEventSourceMapping.EndpointsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventSourceMapping.EndpointsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMapping.EndpointsProperty>
- Enclosing interface:
CfnEventSourceMapping.EndpointsProperty
@Stability(Stable)
public static final class CfnEventSourceMapping.EndpointsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMapping.EndpointsProperty>
A builder for
CfnEventSourceMapping.EndpointsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.kafkaBootstrapServers
(List<String> kafkaBootstrapServers) Sets the value ofCfnEventSourceMapping.EndpointsProperty.getKafkaBootstrapServers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kafkaBootstrapServers
@Stability(Stable) public CfnEventSourceMapping.EndpointsProperty.Builder kafkaBootstrapServers(List<String> kafkaBootstrapServers) Sets the value ofCfnEventSourceMapping.EndpointsProperty.getKafkaBootstrapServers()
- Parameters:
kafkaBootstrapServers
- The list of bootstrap servers for your Kafka brokers in the following format:"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventSourceMapping.EndpointsProperty>
- Returns:
- a new instance of
CfnEventSourceMapping.EndpointsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-