Interface CreateResolverEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateResolverEndpointRequest.Builder,CreateResolverEndpointRequest>,Route53ResolverRequest.Builder,SdkBuilder<CreateResolverEndpointRequest.Builder,CreateResolverEndpointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateResolverEndpointRequest
public static interface CreateResolverEndpointRequest.Builder extends Route53ResolverRequest.Builder, SdkPojo, CopyableBuilder<CreateResolverEndpointRequest.Builder,CreateResolverEndpointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateResolverEndpointRequest.BuildercreatorRequestId(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.CreateResolverEndpointRequest.Builderdirection(String direction)Specify the applicable value:CreateResolverEndpointRequest.Builderdirection(ResolverEndpointDirection direction)Specify the applicable value:CreateResolverEndpointRequest.BuilderipAddresses(Collection<IpAddressRequest> 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).CreateResolverEndpointRequest.BuilderipAddresses(Consumer<IpAddressRequest.Builder>... 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).CreateResolverEndpointRequest.BuilderipAddresses(IpAddressRequest... 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).CreateResolverEndpointRequest.Buildername(String name)A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.CreateResolverEndpointRequest.BuilderoutpostArn(String outpostArn)The Amazon Resource Name (ARN) of the Outpost.CreateResolverEndpointRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateResolverEndpointRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateResolverEndpointRequest.BuilderpreferredInstanceType(String preferredInstanceType)The instance type.CreateResolverEndpointRequest.Builderprotocols(Collection<Protocol> protocols)The protocols you want to use for the endpoint.CreateResolverEndpointRequest.Builderprotocols(Protocol... protocols)The protocols you want to use for the endpoint.CreateResolverEndpointRequest.BuilderprotocolsWithStrings(String... protocols)The protocols you want to use for the endpoint.CreateResolverEndpointRequest.BuilderprotocolsWithStrings(Collection<String> protocols)The protocols you want to use for the endpoint.CreateResolverEndpointRequest.BuilderresolverEndpointType(String resolverEndpointType)For the endpoint type you can choose either IPv4, IPv6, or dual-stack.CreateResolverEndpointRequest.BuilderresolverEndpointType(ResolverEndpointType resolverEndpointType)For the endpoint type you can choose either IPv4, IPv6, or dual-stack.CreateResolverEndpointRequest.BuildersecurityGroupIds(String... securityGroupIds)The ID of one or more security groups that you want to use to control access to this VPC.CreateResolverEndpointRequest.BuildersecurityGroupIds(Collection<String> securityGroupIds)The ID of one or more security groups that you want to use to control access to this VPC.CreateResolverEndpointRequest.Buildertags(Collection<Tag> tags)A list of the tag keys and values that you want to associate with the endpoint.CreateResolverEndpointRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of the tag keys and values that you want to associate with the endpoint.CreateResolverEndpointRequest.Buildertags(Tag... tags)A list of the tag keys and values that you want to associate with the endpoint.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest.Builder
build
-
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
-
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.
CreatorRequestIdcan 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.CreatorRequestIdcan 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
CreateResolverEndpointRequest.Builder name(String 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.
Some security group rules will cause your connection to be tracked. For outbound resolver endpoint, it can potentially impact the maximum queries per second from outbound endpoint to your target name server. For inbound resolver endpoint, it can bring down the overall maximum queries per second per IP address to as low as 1500. To avoid connection tracking caused by security group, see Untracked connections.
- 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.Some security group rules will cause your connection to be tracked. For outbound resolver endpoint, it can potentially impact the maximum queries per second from outbound endpoint to your target name server. For inbound resolver endpoint, it can bring down the overall maximum queries per second per IP address to as low as 1500. To avoid connection tracking caused by security group, see Untracked connections.
- 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.
Some security group rules will cause your connection to be tracked. For outbound resolver endpoint, it can potentially impact the maximum queries per second from outbound endpoint to your target name server. For inbound resolver endpoint, it can bring down the overall maximum queries per second per IP address to as low as 1500. To avoid connection tracking caused by security group, see Untracked connections.
- 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.Some security group rules will cause your connection to be tracked. For outbound resolver endpoint, it can potentially impact the maximum queries per second from outbound endpoint to your target name server. For inbound resolver endpoint, it can bring down the overall maximum queries per second per IP address to as low as 1500. To avoid connection tracking caused by security group, see Untracked connections.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
direction
CreateResolverEndpointRequest.Builder direction(String 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:
ResolverEndpointDirection,ResolverEndpointDirection
-
-
direction
CreateResolverEndpointRequest.Builder direction(ResolverEndpointDirection 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:
ResolverEndpointDirection,ResolverEndpointDirection
-
-
ipAddresses
CreateResolverEndpointRequest.Builder ipAddresses(Collection<IpAddressRequest> 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.
Even though the minimum is 1, Route 53 requires that you create at least two.
- 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.Even though the minimum is 1, Route 53 requires that you create at least two.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddresses
CreateResolverEndpointRequest.Builder ipAddresses(IpAddressRequest... 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.
Even though the minimum is 1, Route 53 requires that you create at least two.
- 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.Even though the minimum is 1, Route 53 requires that you create at least two.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddresses
CreateResolverEndpointRequest.Builder ipAddresses(Consumer<IpAddressRequest.Builder>... 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 theEven though the minimum is 1, Route 53 requires that you create at least two.
IpAddressRequest.Builderavoiding the need to create one manually viaIpAddressRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ipAddresses(List.) - Parameters:
ipAddresses- a consumer that will call methods onIpAddressRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ipAddresses(java.util.Collection)
-
outpostArn
CreateResolverEndpointRequest.Builder outpostArn(String 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 thePreferredInstanceType.- 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 theOutpostArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateResolverEndpointRequest.Builder tags(Collection<Tag> 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
CreateResolverEndpointRequest.Builder tags(Tag... 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
CreateResolverEndpointRequest.Builder tags(Consumer<Tag.Builder>... 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
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,ResolverEndpointType
-
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:
ResolverEndpointType,ResolverEndpointType
-
protocolsWithStrings
CreateResolverEndpointRequest.Builder protocolsWithStrings(Collection<String> protocols)
The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
- Parameters:
protocols- The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocolsWithStrings
CreateResolverEndpointRequest.Builder protocolsWithStrings(String... protocols)
The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
- Parameters:
protocols- The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocols
CreateResolverEndpointRequest.Builder protocols(Collection<Protocol> protocols)
The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
- Parameters:
protocols- The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocols
CreateResolverEndpointRequest.Builder protocols(Protocol... protocols)
The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
- Parameters:
protocols- The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.For an inbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 and DoH-FIPS in combination.
-
Do53 alone.
-
DoH alone.
-
DoH-FIPS alone.
-
None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
-
Do53 and DoH in combination.
-
Do53 alone.
-
DoH alone.
-
None, which is treated as Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
CreateResolverEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateResolverEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-