Interface DescribeBundleTasksRequest.Builder

    • Method Detail

      • bundleIds

        DescribeBundleTasksRequest.Builder bundleIds​(Collection<String> bundleIds)

        The bundle task IDs.

        Default: Describes all your bundle tasks.

        Parameters:
        bundleIds - The bundle task IDs.

        Default: Describes all your bundle tasks.

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

        DescribeBundleTasksRequest.Builder bundleIds​(String... bundleIds)

        The bundle task IDs.

        Default: Describes all your bundle tasks.

        Parameters:
        bundleIds - The bundle task IDs.

        Default: Describes all your bundle tasks.

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

        DescribeBundleTasksRequest.Builder filters​(Collection<Filter> 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.

        Parameters:
        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.

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

        DescribeBundleTasksRequest.Builder filters​(Filter... 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.

        Parameters:
        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.

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

        DescribeBundleTasksRequest.Builder filters​(Consumer<Filter.Builder>... 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.

        This is a convenience method that creates an instance of the Filter.Builder avoiding the need to create one manually via Filter.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filters(List).

        Parameters:
        filters - a consumer that will call methods on Filter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)
      • dryRun

        DescribeBundleTasksRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.