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
-
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
-
availabilityZone
ImportInstanceVolumeDetailItem.Builder availabilityZone(String 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
ImportInstanceVolumeDetailItem.Builder bytesConverted(Long 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
ImportInstanceVolumeDetailItem.Builder description(String 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
ImportInstanceVolumeDetailItem.Builder image(DiskImageDescription image)
The image.
- Parameters:
image
- The image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
default ImportInstanceVolumeDetailItem.Builder image(Consumer<DiskImageDescription.Builder> 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:
image(DiskImageDescription)
-
status
ImportInstanceVolumeDetailItem.Builder status(String 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
ImportInstanceVolumeDetailItem.Builder statusMessage(String 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
ImportInstanceVolumeDetailItem.Builder volume(DiskImageVolumeDescription 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:
volume(DiskImageVolumeDescription)
-
-