Interface SnapshotDetail.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotDetail.Builder,SnapshotDetail>
,SdkBuilder<SnapshotDetail.Builder,SnapshotDetail>
,SdkPojo
- Enclosing class:
- SnapshotDetail
public static interface SnapshotDetail.Builder extends SdkPojo, CopyableBuilder<SnapshotDetail.Builder,SnapshotDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SnapshotDetail.Builder
description(String description)
A description for the snapshot.SnapshotDetail.Builder
deviceName(String deviceName)
The block device mapping for the snapshot.SnapshotDetail.Builder
diskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.SnapshotDetail.Builder
format(String format)
The format of the disk image from which the snapshot is created.SnapshotDetail.Builder
progress(String progress)
The percentage of progress for the task.SnapshotDetail.Builder
snapshotId(String snapshotId)
The snapshot ID of the disk being imported.SnapshotDetail.Builder
status(String status)
A brief status of the snapshot creation.SnapshotDetail.Builder
statusMessage(String statusMessage)
A detailed status message for the snapshot creation.SnapshotDetail.Builder
url(String url)
The URL used to access the disk image.default SnapshotDetail.Builder
userBucket(Consumer<UserBucketDetails.Builder> userBucket)
The Amazon S3 bucket for the disk image.SnapshotDetail.Builder
userBucket(UserBucketDetails userBucket)
The Amazon S3 bucket for the disk image.-
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
SnapshotDetail.Builder description(String description)
A description for the snapshot.
- Parameters:
description
- A description for the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceName
SnapshotDetail.Builder deviceName(String deviceName)
The block device mapping for the snapshot.
- Parameters:
deviceName
- The block device mapping for the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskImageSize
SnapshotDetail.Builder diskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
- Parameters:
diskImageSize
- The size of the disk in the snapshot, in GiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
SnapshotDetail.Builder format(String format)
The format of the disk image from which the snapshot is created.
- Parameters:
format
- The format of the disk image from which the snapshot is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progress
SnapshotDetail.Builder progress(String progress)
The percentage of progress for the task.
- Parameters:
progress
- The percentage of progress for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
SnapshotDetail.Builder snapshotId(String snapshotId)
The snapshot ID of the disk being imported.
- Parameters:
snapshotId
- The snapshot ID of the disk being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
SnapshotDetail.Builder status(String status)
A brief status of the snapshot creation.
- Parameters:
status
- A brief status of the snapshot creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
SnapshotDetail.Builder statusMessage(String statusMessage)
A detailed status message for the snapshot creation.
- Parameters:
statusMessage
- A detailed status message for the snapshot creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
SnapshotDetail.Builder url(String url)
The URL used to access the disk image.
- Parameters:
url
- The URL used to access the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userBucket
SnapshotDetail.Builder userBucket(UserBucketDetails userBucket)
The Amazon S3 bucket for the disk image.
- Parameters:
userBucket
- The Amazon S3 bucket for the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userBucket
default SnapshotDetail.Builder userBucket(Consumer<UserBucketDetails.Builder> userBucket)
The Amazon S3 bucket for the disk image.
This is a convenience method that creates an instance of theUserBucketDetails.Builder
avoiding the need to create one manually viaUserBucketDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserBucket(UserBucketDetails)
.- Parameters:
userBucket
- a consumer that will call methods onUserBucketDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userBucket(UserBucketDetails)
-
-