Class VpcOutputSettings.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.VpcOutputSettings.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcOutputSettings>
- Enclosing interface:
VpcOutputSettings
@Stability(Experimental)
public static final class VpcOutputSettings.Builder
extends Object
implements software.amazon.jsii.Builder<VpcOutputSettings>
A builder for
VpcOutputSettings-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.publicAddressAllocationIds(List<String> publicAddressAllocationIds) Sets the value ofVpcOutputSettings.getPublicAddressAllocationIds()securityGroups(List<? extends ISecurityGroupRef> securityGroups) Sets the value ofVpcOutputSettings.getSecurityGroups()subnets(List<? extends ISubnetRef> subnets) Sets the value ofVpcOutputSettings.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnets
@Stability(Experimental) public VpcOutputSettings.Builder subnets(List<? extends ISubnetRef> subnets) Sets the value ofVpcOutputSettings.getSubnets()- Parameters:
subnets- The subnets to use for the channel's output endpoints. This parameter is required. For STANDARD channels, provide subnets in two different availability zones. For SINGLE_PIPELINE channels, provide at least one subnet.- Returns:
this
-
publicAddressAllocationIds
@Stability(Experimental) public VpcOutputSettings.Builder publicAddressAllocationIds(List<String> publicAddressAllocationIds) Sets the value ofVpcOutputSettings.getPublicAddressAllocationIds()- Parameters:
publicAddressAllocationIds- Public address allocation IDs to associate with ENIs created in the output VPC. Must specify one for SINGLE_PIPELINE, two for STANDARD channels.- Returns:
this
-
securityGroups
@Stability(Experimental) public VpcOutputSettings.Builder securityGroups(List<? extends ISecurityGroupRef> securityGroups) Sets the value ofVpcOutputSettings.getSecurityGroups()- Parameters:
securityGroups- The security groups to attach to the output VPC network interfaces.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcOutputSettings>- Returns:
- a new instance of
VpcOutputSettings - Throws:
NullPointerException- if any required attribute was not provided
-