Class CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty>
- Enclosing interface:
CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroups(List<String> securityGroups)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).- Returns:
this
-
securityGroups
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty.getSecurityGroups()- Parameters:
securityGroups- The security groups of the VPC destination.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty.Builder subnetIds(List<String> subnetIds) - Parameters:
subnetIds- The subnet IDs of the VPC destination.- Returns:
this
-
vpcId
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty.Builder vpcId(String vpcId) - Parameters:
vpcId- The ID of the VPC.- Returns:
this
-
build
@Stability(Stable) public CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty>- Returns:
- a new instance of
CfnTopicRuleDestinationPropsMixin.VpcDestinationPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-