Interface DescribeBundleTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeBundleTasksResponse.Builder,,DescribeBundleTasksResponse> Ec2Response.Builder,SdkBuilder<DescribeBundleTasksResponse.Builder,,DescribeBundleTasksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeBundleTasksResponse
public static interface DescribeBundleTasksResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeBundleTasksResponse.Builder,DescribeBundleTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbundleTasks(Collection<BundleTask> bundleTasks) Information about the bundle tasks.bundleTasks(Consumer<BundleTask.Builder>... bundleTasks) Information about the bundle tasks.bundleTasks(BundleTask... bundleTasks) Information about the bundle tasks.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
-
bundleTasks
Information about the bundle tasks.
- Parameters:
bundleTasks- Information about the bundle tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleTasks
Information about the bundle tasks.
- Parameters:
bundleTasks- Information about the bundle tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleTasks
Information about the bundle tasks.
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 tobundleTasks(List<BundleTask>).- Parameters:
bundleTasks- 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:
-