Class CfnFirewallRuleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53globalresolver.CfnFirewallRuleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallRuleMixinProps>
- Enclosing interface:
CfnFirewallRuleMixinProps
@Stability(Stable)
public static final class CfnFirewallRuleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallRuleMixinProps>
A builder for
CfnFirewallRuleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFirewallRuleMixinProps.getAction()blockOverrideDnsType(String blockOverrideDnsType) Sets the value ofCfnFirewallRuleMixinProps.getBlockOverrideDnsType()blockOverrideDomain(String blockOverrideDomain) Sets the value ofCfnFirewallRuleMixinProps.getBlockOverrideDomain()blockOverrideTtl(Number blockOverrideTtl) Sets the value ofCfnFirewallRuleMixinProps.getBlockOverrideTtl()blockResponse(String blockResponse) Sets the value ofCfnFirewallRuleMixinProps.getBlockResponse()build()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnFirewallRuleMixinProps.getClientToken()confidenceThreshold(String confidenceThreshold) Sets the value ofCfnFirewallRuleMixinProps.getConfidenceThreshold()description(String description) Sets the value ofCfnFirewallRuleMixinProps.getDescription()dnsAdvancedProtection(String dnsAdvancedProtection) Sets the value ofCfnFirewallRuleMixinProps.getDnsAdvancedProtection()Sets the value ofCfnFirewallRuleMixinProps.getDnsViewId()firewallDomainListId(String firewallDomainListId) Sets the value ofCfnFirewallRuleMixinProps.getFirewallDomainListId()Sets the value ofCfnFirewallRuleMixinProps.getName()Sets the value ofCfnFirewallRuleMixinProps.getPriority()Sets the value ofCfnFirewallRuleMixinProps.getQType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnFirewallRuleMixinProps.getAction()- Parameters:
action- the value to be set.- Returns:
this
-
blockOverrideDnsType
@Stability(Stable) public CfnFirewallRuleMixinProps.Builder blockOverrideDnsType(String blockOverrideDnsType) Sets the value ofCfnFirewallRuleMixinProps.getBlockOverrideDnsType()- Parameters:
blockOverrideDnsType- the value to be set.- Returns:
this
-
blockOverrideDomain
@Stability(Stable) public CfnFirewallRuleMixinProps.Builder blockOverrideDomain(String blockOverrideDomain) Sets the value ofCfnFirewallRuleMixinProps.getBlockOverrideDomain()- Parameters:
blockOverrideDomain- the value to be set.- Returns:
this
-
blockOverrideTtl
@Stability(Stable) public CfnFirewallRuleMixinProps.Builder blockOverrideTtl(Number blockOverrideTtl) Sets the value ofCfnFirewallRuleMixinProps.getBlockOverrideTtl()- Parameters:
blockOverrideTtl- the value to be set.- Returns:
this
-
blockResponse
Sets the value ofCfnFirewallRuleMixinProps.getBlockResponse()- Parameters:
blockResponse- the value to be set.- Returns:
this
-
clientToken
Sets the value ofCfnFirewallRuleMixinProps.getClientToken()- Parameters:
clientToken- the value to be set.- Returns:
this
-
confidenceThreshold
@Stability(Stable) public CfnFirewallRuleMixinProps.Builder confidenceThreshold(String confidenceThreshold) Sets the value ofCfnFirewallRuleMixinProps.getConfidenceThreshold()- Parameters:
confidenceThreshold- the value to be set.- Returns:
this
-
description
Sets the value ofCfnFirewallRuleMixinProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
dnsAdvancedProtection
@Stability(Stable) public CfnFirewallRuleMixinProps.Builder dnsAdvancedProtection(String dnsAdvancedProtection) Sets the value ofCfnFirewallRuleMixinProps.getDnsAdvancedProtection()- Parameters:
dnsAdvancedProtection- the value to be set.- Returns:
this
-
dnsViewId
Sets the value ofCfnFirewallRuleMixinProps.getDnsViewId()- Parameters:
dnsViewId- the value to be set.- Returns:
this
-
firewallDomainListId
@Stability(Stable) public CfnFirewallRuleMixinProps.Builder firewallDomainListId(String firewallDomainListId) Sets the value ofCfnFirewallRuleMixinProps.getFirewallDomainListId()- Parameters:
firewallDomainListId- the value to be set.- Returns:
this
-
name
Sets the value ofCfnFirewallRuleMixinProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
priority
Sets the value ofCfnFirewallRuleMixinProps.getPriority()- Parameters:
priority- the value to be set.- Returns:
this
-
qType
Sets the value ofCfnFirewallRuleMixinProps.getQType()- Parameters:
qType- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFirewallRuleMixinProps>- Returns:
- a new instance of
CfnFirewallRuleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-