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