@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReferenceStoresResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListReferenceStoresResult() |
Modifier and Type | Method and Description |
---|---|
ListReferenceStoresResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A pagination token that's included if more results are available.
|
List<ReferenceStoreDetail> |
getReferenceStores()
A list of reference stores.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token that's included if more results are available.
|
void |
setReferenceStores(Collection<ReferenceStoreDetail> referenceStores)
A list of reference stores.
|
String |
toString()
Returns a string representation of this object.
|
ListReferenceStoresResult |
withNextToken(String nextToken)
A pagination token that's included if more results are available.
|
ListReferenceStoresResult |
withReferenceStores(Collection<ReferenceStoreDetail> referenceStores)
A list of reference stores.
|
ListReferenceStoresResult |
withReferenceStores(ReferenceStoreDetail... referenceStores)
A list of reference stores.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String getNextToken()
A pagination token that's included if more results are available.
public ListReferenceStoresResult withNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public List<ReferenceStoreDetail> getReferenceStores()
A list of reference stores.
public void setReferenceStores(Collection<ReferenceStoreDetail> referenceStores)
A list of reference stores.
referenceStores
- A list of reference stores.public ListReferenceStoresResult withReferenceStores(ReferenceStoreDetail... referenceStores)
A list of reference stores.
NOTE: This method appends the values to the existing list (if any). Use
setReferenceStores(java.util.Collection)
or withReferenceStores(java.util.Collection)
if you
want to override the existing values.
referenceStores
- A list of reference stores.public ListReferenceStoresResult withReferenceStores(Collection<ReferenceStoreDetail> referenceStores)
A list of reference stores.
referenceStores
- A list of reference stores.public String toString()
toString
in class Object
Object.toString()
public ListReferenceStoresResult clone()