Class CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty>
- Enclosing interface:
CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroup(List<String> securityGroup)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroup
@Stability(Stable) public CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty.Builder securityGroup(List<String> securityGroup) Sets the value ofCfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty.getSecurityGroup()- Parameters:
securityGroup- Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups.- Returns:
this
-
subnets
@Stability(Stable) public CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty.Builder subnets(List<String> subnets) - Parameters:
subnets- Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty>- Returns:
- a new instance of
CfnPipePropsMixin.SelfManagedKafkaAccessConfigurationVpcProperty - Throws:
NullPointerException- if any required attribute was not provided
-