Class DNSFirewallBlock.DnsFirewallBlockItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.route53resolver.events.DNSFirewallBlock.DnsFirewallBlockItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DNSFirewallBlock.DnsFirewallBlockItem>
- Enclosing interface:
DNSFirewallBlock.DnsFirewallBlockItem
@Stability(Experimental)
public static final class DNSFirewallBlock.DnsFirewallBlockItem.Builder
extends Object
implements software.amazon.jsii.Builder<DNSFirewallBlock.DnsFirewallBlockItem>
A builder for
DNSFirewallBlock.DnsFirewallBlockItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resolverEndpointDetails(DNSFirewallBlock.ResolverEndpointDetails resolverEndpointDetails) Sets the value ofDNSFirewallBlock.DnsFirewallBlockItem.getResolverEndpointDetails()resolverNetworkInterfaceDetails(DNSFirewallBlock.ResolverNetworkInterfaceDetails resolverNetworkInterfaceDetails) resourceType(List<String> resourceType) Sets the value ofDNSFirewallBlock.DnsFirewallBlockItem.getResourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resolverEndpointDetails
@Stability(Experimental) public DNSFirewallBlock.DnsFirewallBlockItem.Builder resolverEndpointDetails(DNSFirewallBlock.ResolverEndpointDetails resolverEndpointDetails) Sets the value ofDNSFirewallBlock.DnsFirewallBlockItem.getResolverEndpointDetails()- Parameters:
resolverEndpointDetails- resolver-endpoint-details property. Specify an array of string values to match this event if the actual value of resolver-endpoint-details is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resolverNetworkInterfaceDetails
@Stability(Experimental) public DNSFirewallBlock.DnsFirewallBlockItem.Builder resolverNetworkInterfaceDetails(DNSFirewallBlock.ResolverNetworkInterfaceDetails resolverNetworkInterfaceDetails) - Parameters:
resolverNetworkInterfaceDetails- resolver-network-interface-details property. Specify an array of string values to match this event if the actual value of resolver-network-interface-details is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceType
@Stability(Experimental) public DNSFirewallBlock.DnsFirewallBlockItem.Builder resourceType(List<String> resourceType) Sets the value ofDNSFirewallBlock.DnsFirewallBlockItem.getResourceType()- Parameters:
resourceType- resource-type property. Specify an array of string values to match this event if the actual value of resource-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DNSFirewallBlock.DnsFirewallBlockItem>- Returns:
- a new instance of
DNSFirewallBlock.DnsFirewallBlockItem - Throws:
NullPointerException- if any required attribute was not provided
-