Class CfnDnsViewProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53globalresolver.CfnDnsViewProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDnsViewProps>
- Enclosing interface:
CfnDnsViewProps
@Stability(Stable)
public static final class CfnDnsViewProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDnsViewProps>
A builder for
CfnDnsViewProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnDnsViewProps.getClientToken()description(String description) Sets the value ofCfnDnsViewProps.getDescription()dnssecValidation(String dnssecValidation) Sets the value ofCfnDnsViewProps.getDnssecValidation()ednsClientSubnet(String ednsClientSubnet) Sets the value ofCfnDnsViewProps.getEdnsClientSubnet()firewallRulesFailOpen(String firewallRulesFailOpen) Sets the value ofCfnDnsViewProps.getFirewallRulesFailOpen()globalResolverId(String globalResolverId) Sets the value ofCfnDnsViewProps.getGlobalResolverId()Sets the value ofCfnDnsViewProps.getName()Sets the value ofCfnDnsViewProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
globalResolverId
Sets the value ofCfnDnsViewProps.getGlobalResolverId()- Parameters:
globalResolverId- the value to be set. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDnsViewProps.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
clientToken
Sets the value ofCfnDnsViewProps.getClientToken()- Parameters:
clientToken- the value to be set.- Returns:
this
-
description
Sets the value ofCfnDnsViewProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
dnssecValidation
Sets the value ofCfnDnsViewProps.getDnssecValidation()- Parameters:
dnssecValidation- the value to be set.- Returns:
this
-
ednsClientSubnet
Sets the value ofCfnDnsViewProps.getEdnsClientSubnet()- Parameters:
ednsClientSubnet- the value to be set.- Returns:
this
-
firewallRulesFailOpen
@Stability(Stable) public CfnDnsViewProps.Builder firewallRulesFailOpen(String firewallRulesFailOpen) Sets the value ofCfnDnsViewProps.getFirewallRulesFailOpen()- Parameters:
firewallRulesFailOpen- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnDnsViewProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDnsViewProps>- Returns:
- a new instance of
CfnDnsViewProps - Throws:
NullPointerException- if any required attribute was not provided
-