public class DescribeBundleTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DescribeBundleTasksRequest>
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.
Constructor and Description |
---|
DescribeBundleTasksRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getBundleIds()
Default: Describes all your bundle tasks.
Default: Describes all your bundle tasks.
public void setBundleIds(java.util.Collection<java.lang.String> bundleIds)
Default: Describes all your bundle tasks.
bundleIds
- One or more bundle task IDs. Default: Describes all your bundle tasks.
public DescribeBundleTasksRequest withBundleIds(java.lang.String... bundleIds)
Default: Describes all your bundle tasks.
Returns a reference to this object so that method calls can be chained together.
bundleIds
- One or more bundle task IDs. Default: Describes all your bundle tasks.
public DescribeBundleTasksRequest withBundleIds(java.util.Collection<java.lang.String> bundleIds)
Default: Describes all your bundle tasks.
Returns a reference to this object so that method calls can be chained together.
bundleIds
- One or more bundle task IDs. Default: Describes all your bundle tasks.
public java.util.List<Filter> getFilters()
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.
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.
public void setFilters(java.util.Collection<Filter> 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.
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.
public DescribeBundleTasksRequest withFilters(Filter... 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 object so that method calls can be chained together.
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.
public DescribeBundleTasksRequest withFilters(java.util.Collection<Filter> 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 object so that method calls can be chained together.
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.
public Request<DescribeBundleTasksRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeBundleTasksRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.