Interface AssociateResolverEndpointIpAddressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateResolverEndpointIpAddressRequest.Builder,
,AssociateResolverEndpointIpAddressRequest> Route53ResolverRequest.Builder
,SdkBuilder<AssociateResolverEndpointIpAddressRequest.Builder,
,AssociateResolverEndpointIpAddressRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateResolverEndpointIpAddressRequest
public static interface AssociateResolverEndpointIpAddressRequest.Builder
extends Route53ResolverRequest.Builder, SdkPojo, CopyableBuilder<AssociateResolverEndpointIpAddressRequest.Builder,AssociateResolverEndpointIpAddressRequest>
-
Method Summary
Modifier and TypeMethodDescriptionipAddress
(Consumer<IpAddressUpdate.Builder> ipAddress) Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID.ipAddress
(IpAddressUpdate ipAddress) Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resolverEndpointId
(String resolverEndpointId) The ID of the Resolver endpoint that you want to associate IP addresses with.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, sdkFields
-
Method Details
-
resolverEndpointId
The ID of the Resolver endpoint that you want to associate IP addresses with.
- Parameters:
resolverEndpointId
- The ID of the Resolver endpoint that you want to associate IP addresses with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet.
- Parameters:
ipAddress
- Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
default AssociateResolverEndpointIpAddressRequest.Builder ipAddress(Consumer<IpAddressUpdate.Builder> ipAddress) Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet.
This is a convenience method that creates an instance of theIpAddressUpdate.Builder
avoiding the need to create one manually viaIpAddressUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipAddress(IpAddressUpdate)
.- Parameters:
ipAddress
- a consumer that will call methods onIpAddressUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AssociateResolverEndpointIpAddressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateResolverEndpointIpAddressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-