public static interface ResolverRuleConfig.Builder extends SdkPojo, CopyableBuilder<ResolverRuleConfig.Builder,ResolverRuleConfig>
Modifier and Type | Method and Description |
---|---|
ResolverRuleConfig.Builder |
name(String name)
The new name for the resolver rule.
|
ResolverRuleConfig.Builder |
resolverEndpointId(String resolverEndpointId)
The ID of the new outbound resolver endpoint that you want to use to route DNS queries to the IP addresses
that you specify in
TargetIps . |
ResolverRuleConfig.Builder |
targetIps(Collection<TargetAddress> targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries
to.
|
ResolverRuleConfig.Builder |
targetIps(Consumer<TargetAddress.Builder>... targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries
to.
|
ResolverRuleConfig.Builder |
targetIps(TargetAddress... targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries
to.
|
copy
applyMutation, build
ResolverRuleConfig.Builder name(String name)
The new name for the resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
name
- The new name for the resolver rule. The name that you specify appears in the Resolver dashboard in the
Route 53 console.ResolverRuleConfig.Builder targetIps(Collection<TargetAddress> targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
targetIps
- For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS
queries to.ResolverRuleConfig.Builder targetIps(TargetAddress... targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
targetIps
- For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS
queries to.ResolverRuleConfig.Builder targetIps(Consumer<TargetAddress.Builder>... targetIps)
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #targetIps(List)
.targetIps
- a consumer that will call methods on List.Builder
#targetIps(List)
ResolverRuleConfig.Builder resolverEndpointId(String resolverEndpointId)
The ID of the new outbound resolver endpoint that you want to use to route DNS queries to the IP addresses
that you specify in TargetIps
.
resolverEndpointId
- The ID of the new outbound resolver endpoint that you want to use to route DNS queries to the IP
addresses that you specify in TargetIps
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.