Class DescribeBundleTasksRequest

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

public class DescribeBundleTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeBundleTasksRequest>

Contains the parameters for DescribeBundleTasks.

See Also:
  • Constructor Details

    • DescribeBundleTasksRequest

      public DescribeBundleTasksRequest()
  • Method Details

    • getBundleIds

      public List<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(Collection<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(String... bundleIds)

      One or more bundle task IDs.

      Default: Describes all your bundle tasks.

      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.

      Parameters:
      bundleIds - One or more bundle task IDs.

      Default: Describes all your bundle tasks.

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

      public DescribeBundleTasksRequest withBundleIds(Collection<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.

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

      public List<Filter> getFilters()

      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:
      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(Collection<Filter> 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.

      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.

      • 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.

      NOTE: This method appends the values to the existing list (if any). Use setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override the existing values.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • withFilters

      public DescribeBundleTasksRequest withFilters(Collection<Filter> 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.

      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:
      Returns a reference to this 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 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: