public static interface CancelBundleTaskResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CancelBundleTaskResponse.Builder,CancelBundleTaskResponse>
Modifier and Type | Method and Description |
---|---|
CancelBundleTaskResponse.Builder |
bundleTask(BundleTask bundleTask)
Information about the bundle task.
|
default CancelBundleTaskResponse.Builder |
bundleTask(Consumer<BundleTask.Builder> bundleTask)
Information about the bundle task.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CancelBundleTaskResponse.Builder bundleTask(BundleTask bundleTask)
Information about the bundle task.
bundleTask
- Information about the bundle task.default CancelBundleTaskResponse.Builder bundleTask(Consumer<BundleTask.Builder> bundleTask)
Information about the bundle task.
This is a convenience method that creates an instance of theBundleTask.Builder
avoiding the need to
create one manually via BundleTask.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to bundleTask(BundleTask)
.bundleTask
- a consumer that will call methods on BundleTask.Builder
bundleTask(BundleTask)
Copyright © 2022. All rights reserved.