Class CfnInputSecurityGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInputSecurityGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputSecurityGroupProps>
- Enclosing interface:
CfnInputSecurityGroupProps
@Stability(Stable)
public static final class CfnInputSecurityGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputSecurityGroupProps>
A builder for
CfnInputSecurityGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnInputSecurityGroupProps.getTags()
whitelistRules
(List<? extends Object> whitelistRules) Sets the value ofCfnInputSecurityGroupProps.getWhitelistRules()
whitelistRules
(IResolvable whitelistRules) Sets the value ofCfnInputSecurityGroupProps.getWhitelistRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
Sets the value ofCfnInputSecurityGroupProps.getTags()
- Parameters:
tags
- A collection of tags for this input security group. Each tag is a key-value pair.- Returns:
this
-
whitelistRules
@Stability(Stable) public CfnInputSecurityGroupProps.Builder whitelistRules(IResolvable whitelistRules) Sets the value ofCfnInputSecurityGroupProps.getWhitelistRules()
- Parameters:
whitelistRules
- The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.- Returns:
this
-
whitelistRules
@Stability(Stable) public CfnInputSecurityGroupProps.Builder whitelistRules(List<? extends Object> whitelistRules) Sets the value ofCfnInputSecurityGroupProps.getWhitelistRules()
- Parameters:
whitelistRules
- The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInputSecurityGroupProps>
- Returns:
- a new instance of
CfnInputSecurityGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-