Class CfnFirewallDomainListProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53globalresolver.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnFirewallDomainListProps.getClientToken()description(String description) Sets the value ofCfnFirewallDomainListProps.getDescription()domainFileUrl(String domainFileUrl) Sets the value ofCfnFirewallDomainListProps.getDomainFileUrl()Sets the value ofCfnFirewallDomainListProps.getDomains()globalResolverId(String globalResolverId) Sets the value ofCfnFirewallDomainListProps.getGlobalResolverId()Sets the value ofCfnFirewallDomainListProps.getName()Sets the value ofCfnFirewallDomainListProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
globalResolverId
@Stability(Stable) public CfnFirewallDomainListProps.Builder globalResolverId(String globalResolverId) Sets the value ofCfnFirewallDomainListProps.getGlobalResolverId()- Parameters:
globalResolverId- the value to be set. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnFirewallDomainListProps.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
clientToken
Sets the value ofCfnFirewallDomainListProps.getClientToken()- Parameters:
clientToken- the value to be set.- Returns:
this
-
description
Sets the value ofCfnFirewallDomainListProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
domainFileUrl
Sets the value ofCfnFirewallDomainListProps.getDomainFileUrl()- Parameters:
domainFileUrl- S3 URL to import domains from.- Returns:
this
-
domains
Sets the value ofCfnFirewallDomainListProps.getDomains()- Parameters:
domains- An inline list of domains to use for this domain list.- Returns:
this
-
tags
Sets the value ofCfnFirewallDomainListProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFirewallDomainListProps>- Returns:
- a new instance of
CfnFirewallDomainListProps - Throws:
NullPointerException- if any required attribute was not provided
-