Interface ResolverRuleConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResolverRuleConfig.Builder,
,ResolverRuleConfig> SdkBuilder<ResolverRuleConfig.Builder,
,ResolverRuleConfig> SdkPojo
- Enclosing class:
ResolverRuleConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe new name for the Resolver rule.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 inTargetIps
.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
(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.targetIps
(TargetAddress... targetIps) For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
- Parameters:
name
- The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetIps
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
- Parameters:
targetIps
- For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetIps
For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
- Parameters:
targetIps
- For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theTargetAddress.Builder
avoiding the need to create one manually viaTargetAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetIps(List<TargetAddress>)
.- Parameters:
targetIps
- a consumer that will call methods onTargetAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
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 inTargetIps
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-