Interface SnapshotDiskContainer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotDiskContainer.Builder,SnapshotDiskContainer>,SdkBuilder<SnapshotDiskContainer.Builder,SnapshotDiskContainer>,SdkPojo
- Enclosing class:
- SnapshotDiskContainer
public static interface SnapshotDiskContainer.Builder extends SdkPojo, CopyableBuilder<SnapshotDiskContainer.Builder,SnapshotDiskContainer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SnapshotDiskContainer.Builderdescription(String description)The description of the disk image being imported.SnapshotDiskContainer.Builderformat(String format)The format of the disk image being imported.SnapshotDiskContainer.Builderurl(String url)The URL to the Amazon S3-based disk image being imported.default SnapshotDiskContainer.BuilderuserBucket(Consumer<UserBucket.Builder> userBucket)The Amazon S3 bucket for the disk image.SnapshotDiskContainer.BuilderuserBucket(UserBucket 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
description
SnapshotDiskContainer.Builder description(String description)
The description of the disk image being imported.
- Parameters:
description- The description of the disk image being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
SnapshotDiskContainer.Builder format(String format)
The format of the disk image being imported.
Valid values:
VHD|VMDK|RAW- Parameters:
format- The format of the disk image being imported.Valid values:
VHD|VMDK|RAW- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
SnapshotDiskContainer.Builder url(String url)
The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).
- Parameters:
url- The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userBucket
SnapshotDiskContainer.Builder userBucket(UserBucket 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 SnapshotDiskContainer.Builder userBucket(Consumer<UserBucket.Builder> userBucket)
The Amazon S3 bucket for the disk image.
This is a convenience method that creates an instance of theUserBucket.Builderavoiding the need to create one manually viaUserBucket.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserBucket(UserBucket).- Parameters:
userBucket- a consumer that will call methods onUserBucket.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userBucket(UserBucket)
-
-