public class DescribeBundleTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeBundleTasksRequest>
Contains the parameters for DescribeBundleTasks.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
bundleIds
One or more bundle task IDs.
|
private SdkInternalList<Filter> |
filters
One or more filters.
|
NOOP
Constructor and Description |
---|
DescribeBundleTasksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeBundleTasksRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
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
private SdkInternalList<java.lang.String> bundleIds
One or more bundle task IDs.
Default: Describes all your bundle tasks.
private SdkInternalList<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.
public java.util.List<java.lang.String> getBundleIds()
One or more bundle task IDs.
Default: Describes all your bundle tasks.
Default: Describes all your bundle tasks.
public void setBundleIds(java.util.Collection<java.lang.String> bundleIds)
One or more bundle task IDs.
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)
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.
bundleIds
- One or more bundle task IDs.
Default: Describes all your bundle tasks.
public DescribeBundleTasksRequest withBundleIds(java.util.Collection<java.lang.String> bundleIds)
One or more bundle task IDs.
Default: Describes all your bundle tasks.
bundleIds
- One or more bundle task IDs.
Default: Describes all your bundle tasks.
public java.util.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.
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)
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.
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)
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.
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)
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.
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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeBundleTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()