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 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

      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

      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 the TargetAddress.Builder avoiding the need to create one manually via TargetAddress.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetIps(List<TargetAddress>).

      Parameters:
      targetIps - a consumer that will call methods on TargetAddress.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 in TargetIps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.