Class FirewallDomainListProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.FirewallDomainListProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FirewallDomainListProps>
- Enclosing interface:
- FirewallDomainListProps
@Stability(Experimental)
public static final class FirewallDomainListProps.Builder
extends Object
implements software.amazon.jsii.Builder<FirewallDomainListProps>
A builder for
FirewallDomainListProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domains(FirewallDomains domains) Sets the value ofFirewallDomainListProps.getDomains()Sets the value ofFirewallDomainListProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domains
Sets the value ofFirewallDomainListProps.getDomains()- Parameters:
domains- A list of domains. This parameter is required.- Returns:
this
-
name
Sets the value ofFirewallDomainListProps.getName()- Parameters:
name- A name for the domain list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FirewallDomainListProps>- Returns:
- a new instance of
FirewallDomainListProps - Throws:
NullPointerException- if any required attribute was not provided
-