public class DescribeWorkspaceBundlesResult extends Object implements Serializable, Cloneable
Contains the results of the DescribeWorkspaceBundles operation.
Constructor and Description |
---|
DescribeWorkspaceBundlesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspaceBundlesResult |
clone() |
boolean |
equals(Object obj) |
List<WorkspaceBundle> |
getBundles()
An array of structures that contain information about the bundles.
|
String |
getNextToken()
If not null, more results are available.
|
int |
hashCode() |
void |
setBundles(Collection<WorkspaceBundle> bundles)
An array of structures that contain information about the bundles.
|
void |
setNextToken(String nextToken)
If not null, more results are available.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeWorkspaceBundlesResult |
withBundles(Collection<WorkspaceBundle> bundles)
An array of structures that contain information about the bundles.
|
DescribeWorkspaceBundlesResult |
withBundles(WorkspaceBundle... bundles)
An array of structures that contain information about the bundles.
|
DescribeWorkspaceBundlesResult |
withNextToken(String nextToken)
If not null, more results are available.
|
public List<WorkspaceBundle> getBundles()
An array of structures that contain information about the bundles.
public void setBundles(Collection<WorkspaceBundle> bundles)
An array of structures that contain information about the bundles.
bundles
- An array of structures that contain information about the bundles.public DescribeWorkspaceBundlesResult withBundles(WorkspaceBundle... bundles)
An array of structures that contain information about the bundles.
NOTE: This method appends the values to the existing list (if
any). Use setBundles(java.util.Collection)
or
withBundles(java.util.Collection)
if you want to override the
existing values.
bundles
- An array of structures that contain information about the bundles.public DescribeWorkspaceBundlesResult withBundles(Collection<WorkspaceBundle> bundles)
An array of structures that contain information about the bundles.
bundles
- An array of structures that contain information about the bundles.public void setNextToken(String nextToken)
If not null, more results are available. Pass this value for the
NextToken
parameter in a subsequent call to this operation
to retrieve the next set of items. This token is valid for one day and
must be used within that timeframe.
nextToken
- If not null, more results are available. Pass this value for the
NextToken
parameter in a subsequent call to this
operation to retrieve the next set of items. This token is valid
for one day and must be used within that timeframe.public String getNextToken()
If not null, more results are available. Pass this value for the
NextToken
parameter in a subsequent call to this operation
to retrieve the next set of items. This token is valid for one day and
must be used within that timeframe.
NextToken
parameter in a subsequent call to this
operation to retrieve the next set of items. This token is valid
for one day and must be used within that timeframe.public DescribeWorkspaceBundlesResult withNextToken(String nextToken)
If not null, more results are available. Pass this value for the
NextToken
parameter in a subsequent call to this operation
to retrieve the next set of items. This token is valid for one day and
must be used within that timeframe.
nextToken
- If not null, more results are available. Pass this value for the
NextToken
parameter in a subsequent call to this
operation to retrieve the next set of items. This token is valid
for one day and must be used within that timeframe.public String toString()
toString
in class Object
Object.toString()
public DescribeWorkspaceBundlesResult clone()
Copyright © 2015. All rights reserved.