public static interface ImportSnapshotResponse.Builder extends Ec2Response.Builder, CopyableBuilder<ImportSnapshotResponse.Builder,ImportSnapshotResponse>
Modifier and Type | Method and Description |
---|---|
ImportSnapshotResponse.Builder |
description(String description)
A description of the import snapshot task.
|
ImportSnapshotResponse.Builder |
importTaskId(String importTaskId)
The ID of the import snapshot task.
|
default ImportSnapshotResponse.Builder |
snapshotTaskDetail(Consumer<SnapshotTaskDetail.Builder> snapshotTaskDetail)
Information about the import snapshot task.
|
ImportSnapshotResponse.Builder |
snapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Information about the import snapshot task.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ImportSnapshotResponse.Builder description(String description)
A description of the import snapshot task.
description
- A description of the import snapshot task.ImportSnapshotResponse.Builder importTaskId(String importTaskId)
The ID of the import snapshot task.
importTaskId
- The ID of the import snapshot task.ImportSnapshotResponse.Builder snapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Information about the import snapshot task.
snapshotTaskDetail
- Information about the import snapshot task.default ImportSnapshotResponse.Builder snapshotTaskDetail(Consumer<SnapshotTaskDetail.Builder> snapshotTaskDetail)
Information about the import snapshot task.
This is a convenience that creates an instance of theSnapshotTaskDetail.Builder
avoiding the need to
create one manually via SnapshotTaskDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to snapshotTaskDetail(SnapshotTaskDetail)
.snapshotTaskDetail
- a consumer that will call methods on SnapshotTaskDetail.Builder
snapshotTaskDetail(SnapshotTaskDetail)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.