public static interface ImportSnapshotTask.Builder extends CopyableBuilder<ImportSnapshotTask.Builder,ImportSnapshotTask>
Modifier and Type | Method and Description |
---|---|
ImportSnapshotTask.Builder |
description(String description)
A description of the import snapshot task.
|
ImportSnapshotTask.Builder |
importTaskId(String importTaskId)
The ID of the import snapshot task.
|
default ImportSnapshotTask.Builder |
snapshotTaskDetail(Consumer<SnapshotTaskDetail.Builder> snapshotTaskDetail)
Describes an import snapshot task.
|
ImportSnapshotTask.Builder |
snapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Describes an import snapshot task.
|
copy
applyMutation, build
ImportSnapshotTask.Builder description(String description)
A description of the import snapshot task.
description
- A description of the import snapshot task.ImportSnapshotTask.Builder importTaskId(String importTaskId)
The ID of the import snapshot task.
importTaskId
- The ID of the import snapshot task.ImportSnapshotTask.Builder snapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Describes an import snapshot task.
snapshotTaskDetail
- Describes an import snapshot task.default ImportSnapshotTask.Builder snapshotTaskDetail(Consumer<SnapshotTaskDetail.Builder> snapshotTaskDetail)
Describes an 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.