Class CfnFirewallDomainListProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnFirewallDomainListProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallDomainListProps>
- Enclosing interface:
CfnFirewallDomainListProps
@Stability(Stable)
public static final class CfnFirewallDomainListProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallDomainListProps>
A builder for
CfnFirewallDomainListProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainFileUrl
(String domainFileUrl) Sets the value ofCfnFirewallDomainListProps.getDomainFileUrl()
Sets the value ofCfnFirewallDomainListProps.getDomains()
Sets the value ofCfnFirewallDomainListProps.getName()
Sets the value ofCfnFirewallDomainListProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainFileUrl
Sets the value ofCfnFirewallDomainListProps.getDomainFileUrl()
- 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. 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.- Returns:
this
-
domains
Sets the value ofCfnFirewallDomainListProps.getDomains()
- Parameters:
domains
- A list of the domain lists that you have defined.- Returns:
this
-
name
Sets the value ofCfnFirewallDomainListProps.getName()
- Parameters:
name
- The name of the domain list.- Returns:
this
-
tags
Sets the value ofCfnFirewallDomainListProps.getTags()
- Parameters:
tags
- A list of the tag keys and values that you want to associate with the domain list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFirewallDomainListProps>
- Returns:
- a new instance of
CfnFirewallDomainListProps
- Throws:
NullPointerException
- if any required attribute was not provided
-