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 Details

    • create

      @Stability(Stable) public static CfnInputSecurityGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnInputSecurityGroup.Builder.
    • tags

      @Stability(Stable) public CfnInputSecurityGroup.Builder tags(Object 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

      @Stability(Stable) public CfnInputSecurityGroup.Builder whitelistRules(IResolvable 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

      @Stability(Stable) public CfnInputSecurityGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnInputSecurityGroup>
      Returns:
      a newly built instance of CfnInputSecurityGroup.