public static final class CfnFirewallDomainList.Builder
extends java.lang.Object
CfnFirewallDomainList
.Modifier and Type | Method and Description |
---|---|
CfnFirewallDomainList |
build() |
static CfnFirewallDomainList.Builder |
create(Construct scope,
java.lang.String id) |
CfnFirewallDomainList.Builder |
domainFileUrl(java.lang.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.
|
CfnFirewallDomainList.Builder |
domains(java.util.List<java.lang.String> domains)
A list of the domain lists that you have defined.
|
CfnFirewallDomainList.Builder |
name(java.lang.String name)
The name of the domain list.
|
CfnFirewallDomainList.Builder |
tags(java.util.List<? extends CfnTag> tags)
A list of the tag keys and values that you want to associate with the domain list.
|
public static CfnFirewallDomainList.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnFirewallDomainList.Builder
.public CfnFirewallDomainList.Builder domainFileUrl(java.lang.String domainFileUrl)
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.
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.this
public CfnFirewallDomainList.Builder domains(java.util.List<java.lang.String> domains)
domains
- A list of the domain lists that you have defined. This parameter is required.this
public CfnFirewallDomainList.Builder name(java.lang.String name)
name
- The name of the domain list. This parameter is required.this
public CfnFirewallDomainList.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- A list of the tag keys and values that you want to associate with the domain list. This parameter is required.this
public CfnFirewallDomainList build()