com.amazonaws.services.ec2.model
Class DescribeBundleTasksRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeBundleTasksRequest

public class DescribeBundleTasksRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeBundleTasks operation.

The DescribeBundleTasks operation describes in-progress and recent bundle tasks. Complete and failed tasks are removed from the list a short time after completion. If no bundle ids are given, all bundle tasks are returned.

See Also:
AmazonEC2.describeBundleTasks(DescribeBundleTasksRequest)

Constructor Summary
DescribeBundleTasksRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getBundleIds()
          The list of bundle task IDs to describe.
 List<Filter> getFilters()
          A list of filters used to match properties for BundleTasks.
 int hashCode()
           
 void setBundleIds(Collection<String> bundleIds)
          The list of bundle task IDs to describe.
 void setFilters(Collection<Filter> filters)
          A list of filters used to match properties for BundleTasks.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeBundleTasksRequest withBundleIds(Collection<String> bundleIds)
          The list of bundle task IDs to describe.
 DescribeBundleTasksRequest withBundleIds(String... bundleIds)
          The list of bundle task IDs to describe.
 DescribeBundleTasksRequest withFilters(Collection<Filter> filters)
          A list of filters used to match properties for BundleTasks.
 DescribeBundleTasksRequest withFilters(Filter... filters)
          A list of filters used to match properties for BundleTasks.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeBundleTasksRequest

public DescribeBundleTasksRequest()
Method Detail

getBundleIds

public List<String> getBundleIds()
The list of bundle task IDs to describe.

Returns:
The list of bundle task IDs to describe.

setBundleIds

public void setBundleIds(Collection<String> bundleIds)
The list of bundle task IDs to describe.

Parameters:
bundleIds - The list of bundle task IDs to describe.

withBundleIds

public DescribeBundleTasksRequest withBundleIds(String... bundleIds)
The list of bundle task IDs to describe.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bundleIds - The list of bundle task IDs to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

withBundleIds

public DescribeBundleTasksRequest withBundleIds(Collection<String> bundleIds)
The list of bundle task IDs to describe.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bundleIds - The list of bundle task IDs to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public List<Filter> getFilters()
A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns:
A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

setFilters

public void setFilters(Collection<Filter> filters)
A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Parameters:
filters - A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

withFilters

public DescribeBundleTasksRequest withFilters(Filter... filters)
A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns a reference to this object so that method calls can be chained together.

Parameters:
filters - A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeBundleTasksRequest withFilters(Collection<Filter> filters)
A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns a reference to this object so that method calls can be chained together.

Parameters:
filters - A list of filters used to match properties for BundleTasks. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.