com.amazonaws.services.ec2.model
Class DescribeBundleTasksRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeBundleTasksRequest
All Implemented Interfaces:
DryRunSupportedRequest<DescribeBundleTasksRequest>, java.io.Serializable

public class DescribeBundleTasksRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DescribeBundleTasksRequest>

Container for the parameters to the DescribeBundleTasks operation.

Describes one or more of your bundling tasks.

NOTE: Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task.

See Also:
AmazonEC2.describeBundleTasks(DescribeBundleTasksRequest), Serialized Form

Constructor Summary
DescribeBundleTasksRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.String> getBundleIds()
          One or more bundle task IDs.
 Request<DescribeBundleTasksRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.util.List<Filter> getFilters()
          One or more filters.
 int hashCode()
           
 void setBundleIds(java.util.Collection<java.lang.String> bundleIds)
          One or more bundle task IDs.
 void setFilters(java.util.Collection<Filter> filters)
          One or more filters.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeBundleTasksRequest withBundleIds(java.util.Collection<java.lang.String> bundleIds)
          One or more bundle task IDs.
 DescribeBundleTasksRequest withBundleIds(java.lang.String... bundleIds)
          One or more bundle task IDs.
 DescribeBundleTasksRequest withFilters(java.util.Collection<Filter> filters)
          One or more filters.
 DescribeBundleTasksRequest withFilters(Filter... filters)
          One or more filters.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeBundleTasksRequest

public DescribeBundleTasksRequest()
Method Detail

getBundleIds

public java.util.List<java.lang.String> getBundleIds()
One or more bundle task IDs.

Default: Describes all your bundle tasks.

Returns:
One or more bundle task IDs.

Default: Describes all your bundle tasks.


setBundleIds

public void setBundleIds(java.util.Collection<java.lang.String> bundleIds)
One or more bundle task IDs.

Default: Describes all your bundle tasks.

Parameters:
bundleIds - One or more bundle task IDs.

Default: Describes all your bundle tasks.


withBundleIds

public DescribeBundleTasksRequest withBundleIds(java.lang.String... bundleIds)
One or more bundle task IDs.

Default: Describes all your bundle tasks.

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

Parameters:
bundleIds - One or more bundle task IDs.

Default: Describes all your bundle tasks.

Returns:
A reference to this updated object so that method calls can be chained together.

withBundleIds

public DescribeBundleTasksRequest withBundleIds(java.util.Collection<java.lang.String> bundleIds)
One or more bundle task IDs.

Default: Describes all your bundle tasks.

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

Parameters:
bundleIds - One or more bundle task IDs.

Default: Describes all your bundle tasks.

Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public java.util.List<Filter> getFilters()
One or more filters.

Returns:
One or more filters.
  • bundle-id - The ID of the bundle task.

  • error-code - If the task failed, the error code returned.

  • error-message - If the task failed, the error message returned.

  • instance-id - The ID of the instance.

  • progress - The level of task completion, as a percentage (for example, 20%).

  • s3-bucket - The Amazon S3 bucket to store the AMI.

  • s3-prefix - The beginning of the AMI name.

  • start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z).

  • state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed).

  • update-time - The time of the most recent update for the task.


setFilters

public void setFilters(java.util.Collection<Filter> filters)
One or more filters.

Parameters:
filters - One or more filters.
  • bundle-id - The ID of the bundle task.

  • error-code - If the task failed, the error code returned.

  • error-message - If the task failed, the error message returned.

  • instance-id - The ID of the instance.

  • progress - The level of task completion, as a percentage (for example, 20%).

  • s3-bucket - The Amazon S3 bucket to store the AMI.

  • s3-prefix - The beginning of the AMI name.

  • start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z).

  • state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed).

  • update-time - The time of the most recent update for the task.


withFilters

public DescribeBundleTasksRequest withFilters(Filter... filters)
One or more filters.

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

Parameters:
filters - One or more filters.
  • bundle-id - The ID of the bundle task.

  • error-code - If the task failed, the error code returned.

  • error-message - If the task failed, the error message returned.

  • instance-id - The ID of the instance.

  • progress - The level of task completion, as a percentage (for example, 20%).

  • s3-bucket - The Amazon S3 bucket to store the AMI.

  • s3-prefix - The beginning of the AMI name.

  • start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z).

  • state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed).

  • update-time - The time of the most recent update for the task.

Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeBundleTasksRequest withFilters(java.util.Collection<Filter> filters)
One or more filters.

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

Parameters:
filters - One or more filters.
  • bundle-id - The ID of the bundle task.

  • error-code - If the task failed, the error code returned.

  • error-message - If the task failed, the error message returned.

  • instance-id - The ID of the instance.

  • progress - The level of task completion, as a percentage (for example, 20%).

  • s3-bucket - The Amazon S3 bucket to store the AMI.

  • s3-prefix - The beginning of the AMI name.

  • start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z).

  • state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed).

  • update-time - The time of the most recent update for the task.

Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<DescribeBundleTasksRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DescribeBundleTasksRequest>

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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