Class DescribeWorkspaceBundlesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.workspaces.model.DescribeWorkspaceBundlesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeWorkspaceBundlesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the DescribeWorkspaceBundles operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeWorkspaceBundlesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
TheNextToken
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)
TheNextToken
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(String... bundleIds)
An array of strings that contains the identifiers of the bundles to retrieve.DescribeWorkspaceBundlesRequest
withBundleIds(Collection<String> bundleIds)
An array of strings that contains the identifiers of the bundles to retrieve.DescribeWorkspaceBundlesRequest
withNextToken(String nextToken)
TheNextToken
value from a previous call to this operation.DescribeWorkspaceBundlesRequest
withOwner(String owner)
The owner of the bundles to retrieve.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getBundleIds
public List<String> getBundleIds()
An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
- Returns:
- An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
-
setBundleIds
public void setBundleIds(Collection<String> bundleIds)
An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
- Parameters:
bundleIds
- An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
-
withBundleIds
public DescribeWorkspaceBundlesRequest withBundleIds(String... bundleIds)
An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
NOTE: This method appends the values to the existing list (if any). Use
setBundleIds(java.util.Collection)
orwithBundleIds(java.util.Collection)
if you want to override the existing values.- Parameters:
bundleIds
- An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withBundleIds
public DescribeWorkspaceBundlesRequest withBundleIds(Collection<String> bundleIds)
An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
- Parameters:
bundleIds
- An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOwner
public void setOwner(String 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:
- null - Retrieves the bundles that belong to the account making the call.
AMAZON
- Retrieves the bundles that are provided by AWS.
- Parameters:
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:
- null - Retrieves the bundles that belong to the account making the call.
AMAZON
- Retrieves the bundles that are provided by AWS.
-
getOwner
public String getOwner()
The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
This contains one of the following values:
- null - Retrieves the bundles that belong to the account making the call.
AMAZON
- Retrieves the bundles that are provided by AWS.
- Returns:
- The owner of the bundles to retrieve. This parameter cannot be
combined with any other filter parameter.
This contains one of the following values:
- null - Retrieves the bundles that belong to the account making the call.
AMAZON
- Retrieves the bundles that are provided by AWS.
-
withOwner
public DescribeWorkspaceBundlesRequest withOwner(String 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:
- null - Retrieves the bundles that belong to the account making the call.
AMAZON
- Retrieves the bundles that are provided by AWS.
- Parameters:
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:
- null - Retrieves the bundles that belong to the account making the call.
AMAZON
- Retrieves the bundles that are provided by AWS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
NextToken
value from a previous call to this operation. Pass null if this is the first call.- Parameters:
nextToken
- TheNextToken
value from a previous call to this operation. Pass null if this is the first call.
-
getNextToken
public String getNextToken()
The
NextToken
value from a previous call to this operation. Pass null if this is the first call.- Returns:
- The
NextToken
value from a previous call to this operation. Pass null if this is the first call.
-
withNextToken
public DescribeWorkspaceBundlesRequest withNextToken(String nextToken)
The
NextToken
value from a previous call to this operation. Pass null if this is the first call.- Parameters:
nextToken
- TheNextToken
value from a previous call to this operation. Pass null if this is the first call.- 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 DescribeWorkspaceBundlesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-