Interface ListCustomRoutingPortMappingsByDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCustomRoutingPortMappingsByDestinationResponse.Builder,
,ListCustomRoutingPortMappingsByDestinationResponse> GlobalAcceleratorResponse.Builder
,SdkBuilder<ListCustomRoutingPortMappingsByDestinationResponse.Builder,
,ListCustomRoutingPortMappingsByDestinationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCustomRoutingPortMappingsByDestinationResponse
public static interface ListCustomRoutingPortMappingsByDestinationResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<ListCustomRoutingPortMappingsByDestinationResponse.Builder,ListCustomRoutingPortMappingsByDestinationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationPortMappings
(Collection<DestinationPortMapping> destinationPortMappings) The port mappings for the endpoint IP address that you specified in the request.destinationPortMappings
(Consumer<DestinationPortMapping.Builder>... destinationPortMappings) The port mappings for the endpoint IP address that you specified in the request.destinationPortMappings
(DestinationPortMapping... destinationPortMappings) The port mappings for the endpoint IP address that you specified in the request.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
destinationPortMappings
ListCustomRoutingPortMappingsByDestinationResponse.Builder destinationPortMappings(Collection<DestinationPortMapping> destinationPortMappings) The port mappings for the endpoint IP address that you specified in the request.
- Parameters:
destinationPortMappings
- The port mappings for the endpoint IP address that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortMappings
ListCustomRoutingPortMappingsByDestinationResponse.Builder destinationPortMappings(DestinationPortMapping... destinationPortMappings) The port mappings for the endpoint IP address that you specified in the request.
- Parameters:
destinationPortMappings
- The port mappings for the endpoint IP address that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortMappings
ListCustomRoutingPortMappingsByDestinationResponse.Builder destinationPortMappings(Consumer<DestinationPortMapping.Builder>... destinationPortMappings) The port mappings for the endpoint IP address that you specified in the request.
This is a convenience method that creates an instance of theDestinationPortMapping.Builder
avoiding the need to create one manually viaDestinationPortMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationPortMappings(List<DestinationPortMapping>)
.- Parameters:
destinationPortMappings
- a consumer that will call methods onDestinationPortMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results. You receive this token from a previous call.
- Parameters:
nextToken
- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-