Interface ImportSnapshotTask.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportSnapshotTask.Builder,
,ImportSnapshotTask> SdkBuilder<ImportSnapshotTask.Builder,
,ImportSnapshotTask> SdkPojo
- Enclosing class:
ImportSnapshotTask
public static interface ImportSnapshotTask.Builder
extends SdkPojo, CopyableBuilder<ImportSnapshotTask.Builder,ImportSnapshotTask>
-
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 ImportSnapshotTask.Builder
snapshotTaskDetail
(Consumer<SnapshotTaskDetail.Builder> snapshotTaskDetail) Describes an import snapshot task.snapshotTaskDetail
(SnapshotTaskDetail snapshotTaskDetail) Describes an import snapshot task.tags
(Collection<Tag> tags) The tags for the import snapshot task.tags
(Consumer<Tag.Builder>... tags) The tags for the import snapshot task.The tags for the import snapshot task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
Describes an import snapshot task.
- Parameters:
snapshotTaskDetail
- Describes an import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotTaskDetail
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 viaSnapshotTaskDetail.builder()
.When the
Consumer
completes,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
The tags for the import snapshot task.
- Parameters:
tags
- The tags for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the import snapshot task.
- Parameters:
tags
- The tags for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,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:
-