Interface ListCustomRoutingPortMappingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCustomRoutingPortMappingsResponse.Builder,
,ListCustomRoutingPortMappingsResponse> GlobalAcceleratorResponse.Builder
,SdkBuilder<ListCustomRoutingPortMappingsResponse.Builder,
,ListCustomRoutingPortMappingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCustomRoutingPortMappingsResponse
public static interface ListCustomRoutingPortMappingsResponse.Builder
extends GlobalAcceleratorResponse.Builder, SdkPojo, CopyableBuilder<ListCustomRoutingPortMappingsResponse.Builder,ListCustomRoutingPortMappingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.portMappings
(Collection<PortMapping> portMappings) The port mappings for a custom routing accelerator.portMappings
(Consumer<PortMapping.Builder>... portMappings) The port mappings for a custom routing accelerator.portMappings
(PortMapping... portMappings) The port mappings for a custom routing accelerator.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
-
portMappings
The port mappings for a custom routing accelerator.
- Parameters:
portMappings
- The port mappings for a custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portMappings
The port mappings for a custom routing accelerator.
- Parameters:
portMappings
- The port mappings for a custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portMappings
ListCustomRoutingPortMappingsResponse.Builder portMappings(Consumer<PortMapping.Builder>... portMappings) The port mappings for a custom routing accelerator.
This is a convenience method that creates an instance of thePortMapping.Builder
avoiding the need to create one manually viaPortMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportMappings(List<PortMapping>)
.- Parameters:
portMappings
- a consumer that will call methods onPortMapping.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.
-