Interface ImportInstanceVolumeDetailItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportInstanceVolumeDetailItem.Builder,
,ImportInstanceVolumeDetailItem> SdkBuilder<ImportInstanceVolumeDetailItem.Builder,
,ImportInstanceVolumeDetailItem> SdkPojo
- Enclosing class:
ImportInstanceVolumeDetailItem
public static interface ImportInstanceVolumeDetailItem.Builder
extends SdkPojo, CopyableBuilder<ImportInstanceVolumeDetailItem.Builder,ImportInstanceVolumeDetailItem>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone where the resulting instance will reside.bytesConverted
(Long bytesConverted) The number of bytes converted so far.description
(String description) A description of the task.The image.image
(DiskImageDescription image) The image.The status of the import of this particular disk image.statusMessage
(String statusMessage) The status information or errors related to the disk image.The volume.volume
(DiskImageVolumeDescription volume) The volume.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
-
availabilityZone
The Availability Zone where the resulting instance will reside.
- Parameters:
availabilityZone
- The Availability Zone where the resulting instance will reside.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bytesConverted
The number of bytes converted so far.
- Parameters:
bytesConverted
- The number of bytes converted so far.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the task.
- Parameters:
description
- A description of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
The image.
- Parameters:
image
- The image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
The image.
This is a convenience method that creates an instance of theDiskImageDescription.Builder
avoiding the need to create one manually viaDiskImageDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimage(DiskImageDescription)
.- Parameters:
image
- a consumer that will call methods onDiskImageDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the import of this particular disk image.
- Parameters:
status
- The status of the import of this particular disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
The status information or errors related to the disk image.
- Parameters:
statusMessage
- The status information or errors related to the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volume
The volume.
- Parameters:
volume
- The volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volume
default ImportInstanceVolumeDetailItem.Builder volume(Consumer<DiskImageVolumeDescription.Builder> volume) The volume.
This is a convenience method that creates an instance of theDiskImageVolumeDescription.Builder
avoiding the need to create one manually viaDiskImageVolumeDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovolume(DiskImageVolumeDescription)
.- Parameters:
volume
- a consumer that will call methods onDiskImageVolumeDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-