Class CfnChannel.VpcOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.VpcOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.VpcOutputSettingsProperty>
- Enclosing interface:
- CfnChannel.VpcOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannel.VpcOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.VpcOutputSettingsProperty>
A builder for
CfnChannel.VpcOutputSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.publicAddressAllocationIds
(List<String> publicAddressAllocationIds) Sets the value ofCfnChannel.VpcOutputSettingsProperty.getPublicAddressAllocationIds()
securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnChannel.VpcOutputSettingsProperty.getSecurityGroupIds()
Sets the value ofCfnChannel.VpcOutputSettingsProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
publicAddressAllocationIds
@Stability(Stable) public CfnChannel.VpcOutputSettingsProperty.Builder publicAddressAllocationIds(List<String> publicAddressAllocationIds) Sets the value ofCfnChannel.VpcOutputSettingsProperty.getPublicAddressAllocationIds()
- 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 CfnChannel.VpcOutputSettingsProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnChannel.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 CfnChannel.VpcOutputSettingsProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnChannel.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.VpcOutputSettingsProperty>
- Returns:
- a new instance of
CfnChannel.VpcOutputSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-