Class DescribeWorkspaceBundlesResult
- java.lang.Object
-
- com.amazonaws.services.workspaces.model.DescribeWorkspaceBundlesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeWorkspaceBundlesResult extends Object implements Serializable, Cloneable
Contains the results of the DescribeWorkspaceBundles operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeWorkspaceBundlesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(WorkspaceBundle... bundles)
An array of structures that contain information about the bundles.DescribeWorkspaceBundlesResult
withBundles(Collection<WorkspaceBundle> bundles)
An array of structures that contain information about the bundles.DescribeWorkspaceBundlesResult
withNextToken(String nextToken)
If not null, more results are available.
-
-
-
Method Detail
-
getBundles
public List<WorkspaceBundle> getBundles()
An array of structures that contain information about the bundles.
- Returns:
- An array of structures that contain information about the bundles.
-
setBundles
public void setBundles(Collection<WorkspaceBundle> bundles)
An array of structures that contain information about the bundles.
- Parameters:
bundles
- An array of structures that contain information about the bundles.
-
withBundles
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)
orwithBundles(java.util.Collection)
if you want to override the existing values.- Parameters:
bundles
- An array of structures that contain information about the bundles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withBundles
public DescribeWorkspaceBundlesResult withBundles(Collection<WorkspaceBundle> bundles)
An array of structures that contain information about the bundles.
- Parameters:
bundles
- An array of structures that contain information about the bundles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.- Parameters:
nextToken
- If not null, more results are available. Pass this value for theNextToken
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.
-
getNextToken
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.- Returns:
- 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.
-
withNextToken
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.- Parameters:
nextToken
- If not null, more results are available. Pass this value for theNextToken
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeWorkspaceBundlesResult clone()
-
-