Class CfnVpcConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnVpcConnectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcConnectionMixinProps>
- Enclosing interface:
CfnVpcConnectionMixinProps
@Stability(Stable)
public static final class CfnVpcConnectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcConnectionMixinProps>
A builder for
CfnVpcConnectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthentication(String authentication) Sets the value ofCfnVpcConnectionMixinProps.getAuthentication()build()Builds the configured instance.clientSubnets(List<String> clientSubnets) Sets the value ofCfnVpcConnectionMixinProps.getClientSubnets()securityGroups(List<String> securityGroups) Sets the value ofCfnVpcConnectionMixinProps.getSecurityGroups()Sets the value ofCfnVpcConnectionMixinProps.getTags()targetClusterArn(String targetClusterArn) Sets the value ofCfnVpcConnectionMixinProps.getTargetClusterArn()Sets the value ofCfnVpcConnectionMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authentication
Sets the value ofCfnVpcConnectionMixinProps.getAuthentication()- Parameters:
authentication- The type of private link authentication.- Returns:
this
-
clientSubnets
@Stability(Stable) public CfnVpcConnectionMixinProps.Builder clientSubnets(List<String> clientSubnets) Sets the value ofCfnVpcConnectionMixinProps.getClientSubnets()- Parameters:
clientSubnets- The list of subnets in the client VPC to connect to.- Returns:
this
-
securityGroups
@Stability(Stable) public CfnVpcConnectionMixinProps.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnVpcConnectionMixinProps.getSecurityGroups()- Parameters:
securityGroups- The security groups to attach to the ENIs for the broker nodes.- Returns:
this
-
tags
Sets the value ofCfnVpcConnectionMixinProps.getTags()- Parameters:
tags- An arbitrary set of tags (key-value pairs) you specify while creating the VPC connection.- Returns:
this
-
targetClusterArn
@Stability(Stable) public CfnVpcConnectionMixinProps.Builder targetClusterArn(String targetClusterArn) Sets the value ofCfnVpcConnectionMixinProps.getTargetClusterArn()- Parameters:
targetClusterArn- The Amazon Resource Name (ARN) of the cluster.- Returns:
this
-
vpcId
Sets the value ofCfnVpcConnectionMixinProps.getVpcId()- Parameters:
vpcId- The VPC ID of the remote client.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcConnectionMixinProps>- Returns:
- a new instance of
CfnVpcConnectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-