Interface CancelBundleTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CancelBundleTaskResponse.Builder,,CancelBundleTaskResponse> Ec2Response.Builder,SdkBuilder<CancelBundleTaskResponse.Builder,,CancelBundleTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CancelBundleTaskResponse
public static interface CancelBundleTaskResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CancelBundleTaskResponse.Builder,CancelBundleTaskResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CancelBundleTaskResponse.BuilderbundleTask(Consumer<BundleTask.Builder> bundleTask) Information about the bundle task.bundleTask(BundleTask bundleTask) Information about the bundle task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
bundleTask
Information about the bundle task.
- Parameters:
bundleTask- Information about the bundle task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleTask
Information about the bundle task.
This is a convenience method that creates an instance of theBundleTask.Builderavoiding the need to create one manually viaBundleTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobundleTask(BundleTask).- Parameters:
bundleTask- a consumer that will call methods onBundleTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-