public static interface InstanceSnapshotInfo.Builder extends SdkPojo, CopyableBuilder<InstanceSnapshotInfo.Builder,InstanceSnapshotInfo>
Modifier and Type | Method and Description |
---|---|
InstanceSnapshotInfo.Builder |
fromBlueprintId(String fromBlueprintId)
The blueprint ID from which the source instance (e.g.,
os_debian_8_3 ). |
InstanceSnapshotInfo.Builder |
fromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (e.g.,
micro_1_0 ). |
InstanceSnapshotInfo.Builder |
fromDiskInfo(Collection<DiskInfo> fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
|
InstanceSnapshotInfo.Builder |
fromDiskInfo(Consumer<DiskInfo.Builder>... fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
|
InstanceSnapshotInfo.Builder |
fromDiskInfo(DiskInfo... fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
|
copy
applyMutation, build
InstanceSnapshotInfo.Builder fromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (e.g., micro_1_0
).
fromBundleId
- The bundle ID from which the source instance was created (e.g., micro_1_0
).InstanceSnapshotInfo.Builder fromBlueprintId(String fromBlueprintId)
The blueprint ID from which the source instance (e.g., os_debian_8_3
).
fromBlueprintId
- The blueprint ID from which the source instance (e.g., os_debian_8_3
).InstanceSnapshotInfo.Builder fromDiskInfo(Collection<DiskInfo> fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
fromDiskInfo
- A list of objects describing the disks that were attached to the source instance.InstanceSnapshotInfo.Builder fromDiskInfo(DiskInfo... fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
fromDiskInfo
- A list of objects describing the disks that were attached to the source instance.InstanceSnapshotInfo.Builder fromDiskInfo(Consumer<DiskInfo.Builder>... fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #fromDiskInfo(List)
.fromDiskInfo
- a consumer that will call methods on List.Builder
#fromDiskInfo(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.