Interface BundleInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BundleInstanceResponse.Builder,,BundleInstanceResponse> Ec2Response.Builder,SdkBuilder<BundleInstanceResponse.Builder,,BundleInstanceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BundleInstanceResponse
@Mutable
@NotThreadSafe
public static interface BundleInstanceResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<BundleInstanceResponse.Builder,BundleInstanceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BundleInstanceResponse.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, sdkFieldNameToField, 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:
-