Class CdiInputProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.CdiInputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CdiInputProps>
- Enclosing interface:
CdiInputProps
@Stability(Experimental)
public static final class CdiInputProps.Builder
extends Object
implements software.amazon.jsii.Builder<CdiInputProps>
A builder for
CdiInputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCdiInputProps.getRole()securityGroups(List<? extends ISecurityGroupRef> securityGroups) Sets the value ofCdiInputProps.getSecurityGroups()subnets(List<? extends ISubnetRef> subnets) Sets the value ofCdiInputProps.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnets
Sets the value ofCdiInputProps.getSubnets()- Parameters:
subnets- Two VPC subnets, in two different availability zones, for the CDI input network interfaces. This parameter is required.- Returns:
this
-
role
Sets the value ofCdiInputProps.getRole()- Parameters:
role- The IAM role MediaLive assumes to create network interfaces in the VPC. When omitted, a role is created and granted the required permissions. When you provide a role, no permissions are added — you own all the permissions it needs.- Returns:
this
-
securityGroups
@Stability(Experimental) public CdiInputProps.Builder securityGroups(List<? extends ISecurityGroupRef> securityGroups) Sets the value ofCdiInputProps.getSecurityGroups()- Parameters:
securityGroups- Security groups to attach to the CDI input network interfaces.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CdiInputProps>- Returns:
- a new instance of
CdiInputProps - Throws:
NullPointerException- if any required attribute was not provided
-