/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.ec2.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
import com.amazonaws.Request;
import com.amazonaws.services.ec2.model.transform.DescribeBundleTasksRequestMarshaller;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeBundleTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest
* The bundle task IDs.
*
* Default: Describes all your bundle tasks.
*
* The filters.
*
*
*
*
*
*
*
*
*
*
*
* The bundle task IDs.
*
* Default: Describes all your bundle tasks.
*
*
*/
private com.amazonaws.internal.SdkInternalListbundle-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.
*
* Default: Describes all your bundle tasks.
*/
public java.util.List
* The bundle task IDs.
*
* Default: Describes all your bundle tasks.
*
* Default: Describes all your bundle tasks.
*/
public void setBundleIds(java.util.Collection
* The bundle task IDs.
*
* Default: Describes all your bundle tasks.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setBundleIds(java.util.Collection)} or {@link #withBundleIds(java.util.Collection)} if you want to
* override the existing values.
*
* Default: Describes all your bundle tasks.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeBundleTasksRequest withBundleIds(String... bundleIds) {
if (this.bundleIds == null) {
setBundleIds(new com.amazonaws.internal.SdkInternalList
* The bundle task IDs.
*
* Default: Describes all your bundle tasks.
*
* Default: Describes all your bundle tasks.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeBundleTasksRequest withBundleIds(java.util.Collection
* The filters.
*
*
*
*
*
*
*
*
*
*
*
*
*
* @return The 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.
*
* The 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.
*
* The 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 * {@link #setFilters(java.util.Collection)} or {@link #withFilters(java.util.Collection)} if you want to override * the existing values. *
* * @param filters * The 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.
*
* The 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.
*