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