Class CfnEventSourceMappingPropsMixin.EndpointsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnEventSourceMappingPropsMixin.EndpointsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.EndpointsProperty>
- Enclosing interface:
CfnEventSourceMappingPropsMixin.EndpointsProperty
@Stability(Stable)
public static final class CfnEventSourceMappingPropsMixin.EndpointsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.EndpointsProperty>
A builder for
CfnEventSourceMappingPropsMixin.EndpointsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kafkaBootstrapServers(List<String> kafkaBootstrapServers)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kafkaBootstrapServers
@Stability(Stable) public CfnEventSourceMappingPropsMixin.EndpointsProperty.Builder kafkaBootstrapServers(List<String> kafkaBootstrapServers) - 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.EndpointsProperty>- Returns:
- a new instance of
CfnEventSourceMappingPropsMixin.EndpointsProperty - Throws:
NullPointerException- if any required attribute was not provided
-