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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,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
ListPickupLocationsResultobjects, you have the option of specifyingNextTokenas the starting point for your returned list.- Parameters:
nextToken- HTTP requests are stateless. To identify what object comes "next" in the list ofListPickupLocationsResultobjects, you have the option of specifyingNextTokenas the starting point for your returned list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-