@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBundlesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Result structure contains a list of all available bundles with details.
| Constructor and Description |
|---|
ListBundlesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListBundlesResult |
clone() |
boolean |
equals(Object obj) |
List<BundleDetails> |
getBundleList()
A list of bundles.
|
String |
getNextToken()
Pagination token.
|
int |
hashCode() |
void |
setBundleList(Collection<BundleDetails> bundleList)
A list of bundles.
|
void |
setNextToken(String nextToken)
Pagination token.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListBundlesResult |
withBundleList(BundleDetails... bundleList)
A list of bundles.
|
ListBundlesResult |
withBundleList(Collection<BundleDetails> bundleList)
A list of bundles.
|
ListBundlesResult |
withNextToken(String nextToken)
Pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<BundleDetails> getBundleList()
A list of bundles.
public void setBundleList(Collection<BundleDetails> bundleList)
A list of bundles.
bundleList - A list of bundles.public ListBundlesResult withBundleList(BundleDetails... bundleList)
A list of bundles.
NOTE: This method appends the values to the existing list (if any). Use
setBundleList(java.util.Collection) or withBundleList(java.util.Collection) if you want to
override the existing values.
bundleList - A list of bundles.public ListBundlesResult withBundleList(Collection<BundleDetails> bundleList)
A list of bundles.
bundleList - A list of bundles.public void setNextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken - Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.public String getNextToken()
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
public ListBundlesResult withNextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken - Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.public String toString()
toString in class ObjectObject.toString()public ListBundlesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.