Interface ListPickupLocationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPickupLocationsResponse.Builder,
,ListPickupLocationsResponse> SdkBuilder<ListPickupLocationsResponse.Builder,
,ListPickupLocationsResponse> SdkPojo
,SdkResponse.Builder
,SnowballResponse.Builder
- Enclosing class:
ListPickupLocationsResponse
public static interface ListPickupLocationsResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<ListPickupLocationsResponse.Builder,ListPickupLocationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaddresses
(Collection<Address> addresses) Information about the address of pickup locations.addresses
(Consumer<Address.Builder>... addresses) Information about the address of pickup locations.Information about the address of pickup locations.HTTP requests are stateless.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
addresses
Information about the address of pickup locations.
- Parameters:
addresses
- Information about the address of pickup locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addresses
Information about the address of pickup locations.
- Parameters:
addresses
- Information about the address of pickup locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addresses
Information about the address of pickup locations.
This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddresses(List<Address>)
.- Parameters:
addresses
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
HTTP requests are stateless. To identify what object comes "next" in the list of
ListPickupLocationsResult
objects, you have the option of specifyingNextToken
as the starting point for your returned list.- Parameters:
nextToken
- HTTP requests are stateless. To identify what object comes "next" in the list ofListPickupLocationsResult
objects, you have the option of specifyingNextToken
as the starting point for your returned list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-