Interface ResolverRuleConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResolverRuleConfig.Builder,ResolverRuleConfig>,SdkBuilder<ResolverRuleConfig.Builder,ResolverRuleConfig>,SdkPojo
- Enclosing class:
- ResolverRuleConfig
public static interface ResolverRuleConfig.Builder extends SdkPojo, CopyableBuilder<ResolverRuleConfig.Builder,ResolverRuleConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolverRuleConfig.Buildername(String name)The new name for the Resolver rule.ResolverRuleConfig.BuilderresolverEndpointId(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.ResolverRuleConfig.BuildertargetIps(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.BuildertargetIps(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.BuildertargetIps(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
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.
- 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
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.
- 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
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.
- 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
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 method that creates an instance of theTargetAddress.Builderavoiding the need to create one manually viaTargetAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetIps(List.) - 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:
#targetIps(java.util.Collection)
-
resolverEndpointId
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.- 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.
-
-