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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceSnapshotInfo.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 method that creates an instance of theDiskInfo.Builder avoiding the need to create one
manually via DiskInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #fromDiskInfo(List.
fromDiskInfo - a consumer that will call methods on
DiskInfo.Builder#fromDiskInfo(java.util.Collection) Copyright © 2022. All rights reserved.