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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
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 Detail
-
description
ImportSnapshotTask.Builder description(String 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
ImportSnapshotTask.Builder importTaskId(String 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
ImportSnapshotTask.Builder snapshotTaskDetail(SnapshotTaskDetail 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:
snapshotTaskDetail(SnapshotTaskDetail)
-
tags
ImportSnapshotTask.Builder tags(Collection<Tag> 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
ImportSnapshotTask.Builder tags(Tag... 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
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-