Class CfnChannelPropsMixin.VpcOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.VpcOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.VpcOutputSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.VpcOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.VpcOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.VpcOutputSettingsProperty>
A builder for
CfnChannelPropsMixin.VpcOutputSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.publicAddressAllocationIds(List<String> publicAddressAllocationIds) securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnChannelPropsMixin.VpcOutputSettingsProperty.getSecurityGroupIds()Sets the value ofCfnChannelPropsMixin.VpcOutputSettingsProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
publicAddressAllocationIds
@Stability(Stable) public CfnChannelPropsMixin.VpcOutputSettingsProperty.Builder publicAddressAllocationIds(List<String> publicAddressAllocationIds) - Parameters:
publicAddressAllocationIds- List of public address allocation IDs to associate with ENIs that will be created in Output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnChannelPropsMixin.VpcOutputSettingsProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnChannelPropsMixin.VpcOutputSettingsProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC network interfaces. If none are specified then the VPC default security group will be used- Returns:
this
-
subnetIds
@Stability(Stable) public CfnChannelPropsMixin.VpcOutputSettingsProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnChannelPropsMixin.VpcOutputSettingsProperty.getSubnetIds()- Parameters:
subnetIds- A list of VPC subnet IDs from the same VPC. If STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.VpcOutputSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.VpcOutputSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-