Class CfnFirewallDomainListMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53globalresolver.CfnFirewallDomainListMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallDomainListMixinProps>
- Enclosing interface:
CfnFirewallDomainListMixinProps
@Stability(Stable)
public static final class CfnFirewallDomainListMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallDomainListMixinProps>
A builder for
CfnFirewallDomainListMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnFirewallDomainListMixinProps.getClientToken()description(String description) Sets the value ofCfnFirewallDomainListMixinProps.getDescription()domainFileUrl(String domainFileUrl) Sets the value ofCfnFirewallDomainListMixinProps.getDomainFileUrl()Sets the value ofCfnFirewallDomainListMixinProps.getDomains()globalResolverId(String globalResolverId) Sets the value ofCfnFirewallDomainListMixinProps.getGlobalResolverId()Sets the value ofCfnFirewallDomainListMixinProps.getName()Sets the value ofCfnFirewallDomainListMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientToken
Sets the value ofCfnFirewallDomainListMixinProps.getClientToken()- Parameters:
clientToken- the value to be set.- Returns:
this
-
description
Sets the value ofCfnFirewallDomainListMixinProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
domainFileUrl
@Stability(Stable) public CfnFirewallDomainListMixinProps.Builder domainFileUrl(String domainFileUrl) Sets the value ofCfnFirewallDomainListMixinProps.getDomainFileUrl()- Parameters:
domainFileUrl- S3 URL to import domains from.- Returns:
this
-
domains
Sets the value ofCfnFirewallDomainListMixinProps.getDomains()- Parameters:
domains- An inline list of domains to use for this domain list.- Returns:
this
-
globalResolverId
@Stability(Stable) public CfnFirewallDomainListMixinProps.Builder globalResolverId(String globalResolverId) Sets the value ofCfnFirewallDomainListMixinProps.getGlobalResolverId()- Parameters:
globalResolverId- the value to be set.- Returns:
this
-
name
Sets the value ofCfnFirewallDomainListMixinProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnFirewallDomainListMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFirewallDomainListMixinProps>- Returns:
- a new instance of
CfnFirewallDomainListMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-