Class CfnInputSecurityGroup.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInputSecurityGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputSecurityGroup>
- Enclosing class:
CfnInputSecurityGroup
@Stability(Stable)
public static final class CfnInputSecurityGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputSecurityGroup>
A fluent builder for
CfnInputSecurityGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
A collection of tags for this input security group.whitelistRules
(List<? extends Object> whitelistRules) The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.whitelistRules
(IResolvable whitelistRules) The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnInputSecurityGroup.Builder
.
-
tags
A collection of tags for this input security group.Each tag is a key-value pair.
- Parameters:
tags
- A collection of tags for this input security group. This parameter is required.- Returns:
this
-
whitelistRules
The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.- Parameters:
whitelistRules
- The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses. This parameter is required.- Returns:
this
-
whitelistRules
@Stability(Stable) public CfnInputSecurityGroup.Builder whitelistRules(List<? extends Object> whitelistRules) The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.- Parameters:
whitelistRules
- The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInputSecurityGroup>
- Returns:
- a newly built instance of
CfnInputSecurityGroup
.
-