public static interface ImportSnapshotTask.Builder extends SdkPojo, 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.
|
ImportSnapshotTask.Builder |
tags(Collection<Tag> tags)
The tags for the import snapshot task.
|
ImportSnapshotTask.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the import snapshot task.
|
ImportSnapshotTask.Builder |
tags(Tag... tags)
The tags for the import snapshot task.
|
equalsBySdkFields, sdkFields
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 method 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)
ImportSnapshotTask.Builder tags(Collection<Tag> tags)
The tags for the import snapshot task.
tags
- The tags for the import snapshot task.ImportSnapshotTask.Builder tags(Tag... tags)
The tags for the import snapshot task.
tags
- The tags for the import snapshot task.ImportSnapshotTask.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the import snapshot task.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
Copyright © 2023. All rights reserved.