public class DescribeWorkspaceBundlesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeWorkspaceBundles operation
.
Obtains information about the WorkSpace bundles that are available to your account in the specified region.
You can filter the results with either the BundleIds
parameter, or the Owner
parameter, but not both.
This operation supports pagination with the use of the
NextToken
request and response parameters. If more
results are available, the NextToken
response member
contains a token that you pass in the next call to this operation to
retrieve the next set of items.
NOOP
Constructor and Description |
---|
DescribeWorkspaceBundlesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspaceBundlesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getBundleIds()
An array of strings that contains the identifiers of the bundles to
retrieve.
|
String |
getNextToken()
The
NextToken value from a previous call to this
operation. |
String |
getOwner()
The owner of the bundles to retrieve.
|
int |
hashCode() |
void |
setBundleIds(Collection<String> bundleIds)
An array of strings that contains the identifiers of the bundles to
retrieve.
|
void |
setNextToken(String nextToken)
The
NextToken value from a previous call to this
operation. |
void |
setOwner(String owner)
The owner of the bundles to retrieve.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeWorkspaceBundlesRequest |
withBundleIds(Collection<String> bundleIds)
An array of strings that contains the identifiers of the bundles to
retrieve.
|
DescribeWorkspaceBundlesRequest |
withBundleIds(String... bundleIds)
An array of strings that contains the identifiers of the bundles to
retrieve.
|
DescribeWorkspaceBundlesRequest |
withNextToken(String nextToken)
The
NextToken value from a previous call to this
operation. |
DescribeWorkspaceBundlesRequest |
withOwner(String owner)
The owner of the bundles to retrieve.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getBundleIds()
Constraints:
Length: 1 - 25
public void setBundleIds(Collection<String> bundleIds)
Constraints:
Length: 1 - 25
bundleIds
- An array of strings that contains the identifiers of the bundles to
retrieve. This parameter cannot be combined with any other filter
parameter.public DescribeWorkspaceBundlesRequest withBundleIds(String... bundleIds)
NOTE: This method appends the values to the existing list (if
any). Use setBundleIds(java.util.Collection)
or withBundleIds(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
bundleIds
- An array of strings that contains the identifiers of the bundles to
retrieve. This parameter cannot be combined with any other filter
parameter.public DescribeWorkspaceBundlesRequest withBundleIds(Collection<String> bundleIds)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
bundleIds
- An array of strings that contains the identifiers of the bundles to
retrieve. This parameter cannot be combined with any other filter
parameter.public String getOwner()
This contains one of the following values:
AMAZON
- Retrieves
the bundles that are provided by AWS.This contains one of the following values:
AMAZON
- Retrieves
the bundles that are provided by AWS.public void setOwner(String owner)
This contains one of the following values:
AMAZON
- Retrieves
the bundles that are provided by AWS.owner
- The owner of the bundles to retrieve. This parameter cannot be
combined with any other filter parameter. This contains one of the following values:
AMAZON
- Retrieves
the bundles that are provided by AWS.public DescribeWorkspaceBundlesRequest withOwner(String owner)
This contains one of the following values:
AMAZON
- Retrieves
the bundles that are provided by AWS.Returns a reference to this object so that method calls can be chained together.
owner
- The owner of the bundles to retrieve. This parameter cannot be
combined with any other filter parameter. This contains one of the following values:
AMAZON
- Retrieves
the bundles that are provided by AWS.public String getNextToken()
NextToken
value from a previous call to this
operation. Pass null if this is the first call.
Constraints:
Length: 1 - 63
NextToken
value from a previous call to this
operation. Pass null if this is the first call.public void setNextToken(String nextToken)
NextToken
value from a previous call to this
operation. Pass null if this is the first call.
Constraints:
Length: 1 - 63
nextToken
- The NextToken
value from a previous call to this
operation. Pass null if this is the first call.public DescribeWorkspaceBundlesRequest withNextToken(String nextToken)
NextToken
value from a previous call to this
operation. Pass null if this is the first call.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
nextToken
- The NextToken
value from a previous call to this
operation. Pass null if this is the first call.public String toString()
toString
in class Object
Object.toString()
public DescribeWorkspaceBundlesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.