Class CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty>
- Enclosing interface:
CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty
@Stability(Stable)
public static final class CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpoints(IResolvable endpoints)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpoints
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty.Builder endpoints(IResolvable endpoints) - Parameters:
endpoints- The list of bootstrap servers for your Kafka brokers in the following format:"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].- Returns:
this
-
endpoints
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty.Builder endpoints(CfnEventSourceMappingPropsMixin.EndpointsProperty endpoints) - Parameters:
endpoints- 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.SelfManagedEventSourceProperty>- Returns:
- a new instance of
CfnEventSourceMappingPropsMixin.SelfManagedEventSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-