@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPickupLocationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPickupLocationsResult() |
Modifier and Type | Method and Description |
---|---|
ListPickupLocationsResult |
clone() |
boolean |
equals(Object obj) |
List<Address> |
getAddresses()
Information about the address of pickup locations.
|
String |
getNextToken()
HTTP requests are stateless.
|
int |
hashCode() |
void |
setAddresses(Collection<Address> addresses)
Information about the address of pickup locations.
|
void |
setNextToken(String nextToken)
HTTP requests are stateless.
|
String |
toString()
Returns a string representation of this object.
|
ListPickupLocationsResult |
withAddresses(Address... addresses)
Information about the address of pickup locations.
|
ListPickupLocationsResult |
withAddresses(Collection<Address> addresses)
Information about the address of pickup locations.
|
ListPickupLocationsResult |
withNextToken(String nextToken)
HTTP requests are stateless.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Address> getAddresses()
Information about the address of pickup locations.
public void setAddresses(Collection<Address> addresses)
Information about the address of pickup locations.
addresses
- Information about the address of pickup locations.public ListPickupLocationsResult withAddresses(Address... addresses)
Information about the address of pickup locations.
NOTE: This method appends the values to the existing list (if any). Use
setAddresses(java.util.Collection)
or withAddresses(java.util.Collection)
if you want to
override the existing values.
addresses
- Information about the address of pickup locations.public ListPickupLocationsResult withAddresses(Collection<Address> addresses)
Information about the address of pickup locations.
addresses
- Information about the address of pickup locations.public void setNextToken(String nextToken)
HTTP requests are stateless. To identify what object comes "next" in the list of
ListPickupLocationsResult
objects, you have the option of specifying NextToken
as the
starting point for your returned list.
nextToken
- HTTP requests are stateless. To identify what object comes "next" in the list of
ListPickupLocationsResult
objects, you have the option of specifying NextToken
as the starting point for your returned list.public String getNextToken()
HTTP requests are stateless. To identify what object comes "next" in the list of
ListPickupLocationsResult
objects, you have the option of specifying NextToken
as the
starting point for your returned list.
ListPickupLocationsResult
objects, you have the option of specifying NextToken
as the starting point for your returned list.public ListPickupLocationsResult withNextToken(String nextToken)
HTTP requests are stateless. To identify what object comes "next" in the list of
ListPickupLocationsResult
objects, you have the option of specifying NextToken
as the
starting point for your returned list.
nextToken
- HTTP requests are stateless. To identify what object comes "next" in the list of
ListPickupLocationsResult
objects, you have the option of specifying NextToken
as the starting point for your returned list.public String toString()
toString
in class Object
Object.toString()
public ListPickupLocationsResult clone()