Interface ImportSnapshotResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ImportSnapshotResponse.Builder,,ImportSnapshotResponse> Ec2Response.Builder,SdkBuilder<ImportSnapshotResponse.Builder,,ImportSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ImportSnapshotResponse
public static interface ImportSnapshotResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ImportSnapshotResponse.Builder,ImportSnapshotResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the import snapshot task.importTaskId(String importTaskId) The ID of the import snapshot task.default ImportSnapshotResponse.BuildersnapshotTaskDetail(Consumer<SnapshotTaskDetail.Builder> snapshotTaskDetail) Information about the import snapshot task.snapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail) Information about the import snapshot task.tags(Collection<Tag> tags) Any tags assigned to the import snapshot task.tags(Consumer<Tag.Builder>... tags) Any tags assigned to the import snapshot task.Any tags assigned to the import snapshot 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
- 
description
A description of the import snapshot task.
- Parameters:
 description- A description of the import snapshot task.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
importTaskId
The ID of the import snapshot task.
- Parameters:
 importTaskId- The ID of the import snapshot task.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
snapshotTaskDetail
Information about the import snapshot task.
- Parameters:
 snapshotTaskDetail- Information about the import snapshot task.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
snapshotTaskDetail
default ImportSnapshotResponse.Builder snapshotTaskDetail(Consumer<SnapshotTaskDetail.Builder> snapshotTaskDetail) Information about the import snapshot task.
This is a convenience method that creates an instance of theSnapshotTaskDetail.Builderavoiding the need to create one manually viaSnapshotTaskDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnapshotTaskDetail(SnapshotTaskDetail).- Parameters:
 snapshotTaskDetail- a consumer that will call methods onSnapshotTaskDetail.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
tags
Any tags assigned to the import snapshot task.
- Parameters:
 tags- Any tags assigned to the import snapshot task.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
tags
Any tags assigned to the import snapshot task.
- Parameters:
 tags- Any tags assigned to the import snapshot task.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
tags
Any tags assigned to the import snapshot task.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
 tags- a consumer that will call methods onTag.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -