Interface CreateResolverEndpointRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateResolverEndpointRequest.Builder,CreateResolverEndpointRequest>, Route53ResolverRequest.Builder, SdkBuilder<CreateResolverEndpointRequest.Builder,CreateResolverEndpointRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateResolverEndpointRequest

  • Method Details

    • creatorRequestId

      CreateResolverEndpointRequest.Builder creatorRequestId(String creatorRequestId)

      A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

      Parameters:
      creatorRequestId - A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.

      Parameters:
      name - A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      CreateResolverEndpointRequest.Builder securityGroupIds(Collection<String> securityGroupIds)

      The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.

      Parameters:
      securityGroupIds - The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      CreateResolverEndpointRequest.Builder securityGroupIds(String... securityGroupIds)

      The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.

      Parameters:
      securityGroupIds - The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • direction

      Specify the applicable value:

      • INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network

      • OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network

      Parameters:
      direction - Specify the applicable value:

      • INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network

      • OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • direction

      Specify the applicable value:

      • INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network

      • OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network

      Parameters:
      direction - Specify the applicable value:

      • INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network

      • OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddresses

      The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.

      Parameters:
      ipAddresses - The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddresses

      The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.

      Parameters:
      ipAddresses - The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddresses

      The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.

      This is a convenience method that creates an instance of the IpAddressRequest.Builder avoiding the need to create one manually via IpAddressRequest.builder().

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

      Parameters:
      ipAddresses - a consumer that will call methods on IpAddressRequest.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      A list of the tag keys and values that you want to associate with the endpoint.

      Parameters:
      tags - A list of the tag keys and values that you want to associate with the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of the tag keys and values that you want to associate with the endpoint.

      Parameters:
      tags - A list of the tag keys and values that you want to associate with the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of the tag keys and values that you want to associate with the endpoint.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

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

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resolverEndpointType

      CreateResolverEndpointRequest.Builder resolverEndpointType(String resolverEndpointType)

      For the endpoint type you can choose either IPv4, IPv6, or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. This endpoint type is applied to all IP addresses.

      Parameters:
      resolverEndpointType - For the endpoint type you can choose either IPv4, IPv6, or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. This endpoint type is applied to all IP addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resolverEndpointType

      CreateResolverEndpointRequest.Builder resolverEndpointType(ResolverEndpointType resolverEndpointType)

      For the endpoint type you can choose either IPv4, IPv6, or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. This endpoint type is applied to all IP addresses.

      Parameters:
      resolverEndpointType - For the endpoint type you can choose either IPv4, IPv6, or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. This endpoint type is applied to all IP addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outpostArn

      The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType.

      Parameters:
      outpostArn - The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preferredInstanceType

      CreateResolverEndpointRequest.Builder preferredInstanceType(String preferredInstanceType)

      The instance type. If you specify this, you must also specify a value for the OutpostArn.

      Parameters:
      preferredInstanceType - The instance type. If you specify this, you must also specify a value for the OutpostArn.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateResolverEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.