Class CfnFirewallDomainList.Builder

java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnFirewallDomainList.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallDomainList>
Enclosing class:
CfnFirewallDomainList

@Stability(Stable) public static final class CfnFirewallDomainList.Builder extends Object implements software.amazon.jsii.Builder<CfnFirewallDomainList>
A fluent builder for CfnFirewallDomainList.
  • Method Details

    • create

      @Stability(Stable) public static CfnFirewallDomainList.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 CfnFirewallDomainList.Builder.
    • domainFileUrl

      @Stability(Stable) public CfnFirewallDomainList.Builder domainFileUrl(String domainFileUrl)
      The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.

      The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.

      Parameters:
      domainFileUrl - The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import. This parameter is required.
      Returns:
      this
    • domains

      @Stability(Stable) public CfnFirewallDomainList.Builder domains(List<String> domains)
      A list of the domain lists that you have defined.

      Parameters:
      domains - A list of the domain lists that you have defined. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnFirewallDomainList.Builder name(String name)
      The name of the domain list.

      Parameters:
      name - The name of the domain list. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnFirewallDomainList.Builder tags(List<? extends CfnTag> tags)
      A list of the tag keys and values that you want to associate with the domain list.

      Parameters:
      tags - A list of the tag keys and values that you want to associate with the domain list. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnFirewallDomainList build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFirewallDomainList>