Interface ImportSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ImportSnapshotResponse.Builder,ImportSnapshotResponse>,Ec2Response.Builder,SdkBuilder<ImportSnapshotResponse.Builder,ImportSnapshotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ImportSnapshotResponse
public static interface ImportSnapshotResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ImportSnapshotResponse.Builder,ImportSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportSnapshotResponse.Builderdescription(String description)A description of the import snapshot task.ImportSnapshotResponse.BuilderimportTaskId(String importTaskId)The ID of the import snapshot task.default ImportSnapshotResponse.BuildersnapshotTaskDetail(Consumer<SnapshotTaskDetail.Builder> snapshotTaskDetail)Information about the import snapshot task.ImportSnapshotResponse.BuildersnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)Information about the import snapshot task.ImportSnapshotResponse.Buildertags(Collection<Tag> tags)Any tags assigned to the import snapshot task.ImportSnapshotResponse.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the import snapshot task.ImportSnapshotResponse.Buildertags(Tag... tags)Any tags assigned to the import snapshot task.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
description
ImportSnapshotResponse.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
ImportSnapshotResponse.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
ImportSnapshotResponse.Builder snapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Information about the import snapshot task.
- Parameters:
snapshotTaskDetail- Information about the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotTaskDetail
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.Builderavoiding the need to create one manually viaSnapshotTaskDetail.builder().When the
Consumercompletes,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
ImportSnapshotResponse.Builder tags(Collection<Tag> tags)
Any tags assigned to the import snapshot task.
- Parameters:
tags- Any tags assigned to the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportSnapshotResponse.Builder tags(Tag... tags)
Any tags assigned to the import snapshot task.
- Parameters:
tags- Any tags assigned to the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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)
-
-