Interface UpdateResolverEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateResolverEndpointRequest.Builder,,UpdateResolverEndpointRequest> Route53ResolverRequest.Builder,SdkBuilder<UpdateResolverEndpointRequest.Builder,,UpdateResolverEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateResolverEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptiondns64Enabled(Boolean dns64Enabled) Specifies whether DNS64 is enabled for the inbound Resolver endpoint.ipv6InternetAccessEnabled(Boolean ipv6InternetAccessEnabled) Specifies whether IPv6 internet access is enabled for the outbound Resolver endpoint.The name of the Resolver endpoint that you want to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protocols(Collection<Protocol> protocols) The protocols you want to use for the endpoint.The protocols you want to use for the endpoint.protocolsWithStrings(String... protocols) The protocols you want to use for the endpoint.protocolsWithStrings(Collection<String> protocols) The protocols you want to use for the endpoint.resolverEndpointId(String resolverEndpointId) The ID of the Resolver endpoint that you want to update.resolverEndpointType(String resolverEndpointType) Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.resolverEndpointType(ResolverEndpointType resolverEndpointType) Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.rniEnhancedMetricsEnabled(Boolean rniEnhancedMetricsEnabled) Updates whether RNI enhanced metrics are enabled for the Resolver endpoints.targetNameServerMetricsEnabled(Boolean targetNameServerMetricsEnabled) Updates whether target name server metrics are enabled for the outbound Resolver endpoints.updateIpAddresses(Collection<UpdateIpAddress> updateIpAddresses) Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack.updateIpAddresses(Consumer<UpdateIpAddress.Builder>... updateIpAddresses) Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack.updateIpAddresses(UpdateIpAddress... updateIpAddresses) Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resolverEndpointId
The ID of the Resolver endpoint that you want to update.
- Parameters:
resolverEndpointId- The ID of the Resolver endpoint that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the Resolver endpoint that you want to update.
- Parameters:
name- The name of the Resolver endpoint that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolverEndpointType
Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.
Updating to
IPV6type isn't currently supported.- Parameters:
resolverEndpointType- Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.Updating to
IPV6type isn't currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resolverEndpointType
UpdateResolverEndpointRequest.Builder resolverEndpointType(ResolverEndpointType resolverEndpointType) Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.
Updating to
IPV6type isn't currently supported.- Parameters:
resolverEndpointType- Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.Updating to
IPV6type isn't currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateIpAddresses
UpdateResolverEndpointRequest.Builder updateIpAddresses(Collection<UpdateIpAddress> updateIpAddresses) Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don't specify an IPv6 address, one will be automatically chosen from your subnet.
- Parameters:
updateIpAddresses- Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don't specify an IPv6 address, one will be automatically chosen from your subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateIpAddresses
Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don't specify an IPv6 address, one will be automatically chosen from your subnet.
- Parameters:
updateIpAddresses- Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don't specify an IPv6 address, one will be automatically chosen from your subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateIpAddresses
UpdateResolverEndpointRequest.Builder updateIpAddresses(Consumer<UpdateIpAddress.Builder>... updateIpAddresses) Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don't specify an IPv6 address, one will be automatically chosen from your subnet.
This is a convenience method that creates an instance of theUpdateIpAddress.Builderavoiding the need to create one manually viaUpdateIpAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateIpAddresses(List<UpdateIpAddress>).- Parameters:
updateIpAddresses- a consumer that will call methods onUpdateIpAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolsWithStrings
The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.
For a default 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 a delegation inbound endpoint you can use Do53 only.
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.
You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
- Parameters:
protocols- The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.For a default 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 a delegation inbound endpoint you can use Do53 only.
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.
You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocolsWithStrings
The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.
For a default 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 a delegation inbound endpoint you can use Do53 only.
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.
You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
- Parameters:
protocols- The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.For a default 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 a delegation inbound endpoint you can use Do53 only.
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.
You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocols
The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.
For a default 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 a delegation inbound endpoint you can use Do53 only.
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.
You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
- Parameters:
protocols- The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.For a default 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 a delegation inbound endpoint you can use Do53 only.
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.
You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
protocols
The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.
For a default 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 a delegation inbound endpoint you can use Do53 only.
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.
You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
- Parameters:
protocols- The protocols you want to use for the endpoint. DoH-FIPS is applicable for default inbound endpoints only.For a default 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 a delegation inbound endpoint you can use Do53 only.
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.
You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
rniEnhancedMetricsEnabled
Updates whether RNI enhanced metrics are enabled for the Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint. When set to false, metrics are not published.
Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint RNI enhanced metrics. For more information, see Detailed metrics.
- Parameters:
rniEnhancedMetricsEnabled- Updates whether RNI enhanced metrics are enabled for the Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each RNI associated with this endpoint. When set to false, metrics are not published.Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint RNI enhanced metrics. For more information, see Detailed metrics.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetNameServerMetricsEnabled
UpdateResolverEndpointRequest.Builder targetNameServerMetricsEnabled(Boolean targetNameServerMetricsEnabled) Updates whether target name server metrics are enabled for the outbound Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint. When set to false, metrics are not published. This setting is not supported for inbound Resolver endpoints.
Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint target name server metrics. For more information, see Detailed metrics.
- Parameters:
targetNameServerMetricsEnabled- Updates whether target name server metrics are enabled for the outbound Resolver endpoints. When set to true, one-minute granular metrics are published in CloudWatch for each target name server associated with this endpoint. When set to false, metrics are not published. This setting is not supported for inbound Resolver endpoints.Standard CloudWatch pricing and charges are applied for using the Route 53 Resolver endpoint target name server metrics. For more information, see Detailed metrics.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dns64Enabled
Specifies whether DNS64 is enabled for the inbound Resolver endpoint. When set to
true, Route 53 Resolver synthesizes AAAA (IPv6) records for IPv4-only services by prepending the64:ff9b::/96prefix to the IPv4 address. This enables IPv6-only clients that send queries through the inbound endpoint to reach IPv4-only services. DNS64 works with NAT64 to provide complete IPv6-to-IPv4 translation.- Parameters:
dns64Enabled- Specifies whether DNS64 is enabled for the inbound Resolver endpoint. When set totrue, Route 53 Resolver synthesizes AAAA (IPv6) records for IPv4-only services by prepending the64:ff9b::/96prefix to the IPv4 address. This enables IPv6-only clients that send queries through the inbound endpoint to reach IPv4-only services. DNS64 works with NAT64 to provide complete IPv6-to-IPv4 translation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6InternetAccessEnabled
Specifies whether IPv6 internet access is enabled for the outbound Resolver endpoint. When set to
true, the endpoint elastic network interfaces (ENIs) can forward DNS queries to public IPv6 targets through an internet gateway.When you enable IPv6 internet access, use network controls like security groups, NACLs, or egress-only internet gateways to protect the endpoint ENIs from unsolicited ingress traffic. Be aware that some network controls can affect DNS query throughput due to connection tracking. For more information, see Amazon EC2 security group connection tracking and Resolver endpoint scaling.
- Parameters:
ipv6InternetAccessEnabled- Specifies whether IPv6 internet access is enabled for the outbound Resolver endpoint. When set totrue, the endpoint elastic network interfaces (ENIs) can forward DNS queries to public IPv6 targets through an internet gateway.When you enable IPv6 internet access, use network controls like security groups, NACLs, or egress-only internet gateways to protect the endpoint ENIs from unsolicited ingress traffic. Be aware that some network controls can affect DNS query throughput due to connection tracking. For more information, see Amazon EC2 security group connection tracking and Resolver endpoint scaling.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateResolverEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateResolverEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-