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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPickupLocationsResponse.Builderaddresses(Collection<Address> addresses)Information about the address of pickup locations.ListPickupLocationsResponse.Builderaddresses(Consumer<Address.Builder>... addresses)Information about the address of pickup locations.ListPickupLocationsResponse.Builderaddresses(Address... addresses)Information about the address of pickup locations.ListPickupLocationsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, 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 Detail
-
addresses
ListPickupLocationsResponse.Builder addresses(Collection<Address> 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
ListPickupLocationsResponse.Builder addresses(Address... 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
ListPickupLocationsResponse.Builder addresses(Consumer<Address.Builder>... 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 to#addresses(List).- 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:
#addresses(java.util.Collection)
-
nextToken
ListPickupLocationsResponse.Builder nextToken(String 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.
-
-