Class InputSecurityGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.InputSecurityGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InputSecurityGroupProps>
- Enclosing interface:
InputSecurityGroupProps
@Stability(Experimental)
public static final class InputSecurityGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<InputSecurityGroupProps>
A builder for
InputSecurityGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowlistRules(List<String> allowlistRules) Sets the value ofInputSecurityGroupProps.getAllowlistRules()build()Builds the configured instance.Sets the value ofInputSecurityGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowlistRules
@Stability(Experimental) public InputSecurityGroupProps.Builder allowlistRules(List<String> allowlistRules) Sets the value ofInputSecurityGroupProps.getAllowlistRules()- Parameters:
allowlistRules- The list of IPv4 CIDR addresses to allow. This parameter is required.- Returns:
this
-
tags
Sets the value ofInputSecurityGroupProps.getTags()- Parameters:
tags- Tags to add to the input security group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InputSecurityGroupProps>- Returns:
- a new instance of
InputSecurityGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-