Interface InstanceSnapshotInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceSnapshotInfo.Builder,InstanceSnapshotInfo>,SdkBuilder<InstanceSnapshotInfo.Builder,InstanceSnapshotInfo>,SdkPojo
- Enclosing class:
- InstanceSnapshotInfo
public static interface InstanceSnapshotInfo.Builder extends SdkPojo, CopyableBuilder<InstanceSnapshotInfo.Builder,InstanceSnapshotInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceSnapshotInfo.BuilderfromBlueprintId(String fromBlueprintId)The blueprint ID from which the source instance (os_debian_8_3).InstanceSnapshotInfo.BuilderfromBundleId(String fromBundleId)The bundle ID from which the source instance was created (micro_1_0).InstanceSnapshotInfo.BuilderfromDiskInfo(Collection<DiskInfo> fromDiskInfo)A list of objects describing the disks that were attached to the source instance.InstanceSnapshotInfo.BuilderfromDiskInfo(Consumer<DiskInfo.Builder>... fromDiskInfo)A list of objects describing the disks that were attached to the source instance.InstanceSnapshotInfo.BuilderfromDiskInfo(DiskInfo... fromDiskInfo)A list of objects describing the disks that were attached to the source instance.-
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
-
fromBundleId
InstanceSnapshotInfo.Builder fromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (
micro_1_0).- Parameters:
fromBundleId- The bundle ID from which the source instance was created (micro_1_0).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromBlueprintId
InstanceSnapshotInfo.Builder fromBlueprintId(String fromBlueprintId)
The blueprint ID from which the source instance (
os_debian_8_3).- Parameters:
fromBlueprintId- The blueprint ID from which the source instance (os_debian_8_3).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromDiskInfo
InstanceSnapshotInfo.Builder fromDiskInfo(Collection<DiskInfo> fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
- Parameters:
fromDiskInfo- A list of objects describing the disks that were attached to the source instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromDiskInfo
InstanceSnapshotInfo.Builder fromDiskInfo(DiskInfo... fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
- Parameters:
fromDiskInfo- A list of objects describing the disks that were attached to the source instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromDiskInfo
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.Builderavoiding the need to create one manually viaDiskInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fromDiskInfo(List.) - Parameters:
fromDiskInfo- a consumer that will call methods onDiskInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fromDiskInfo(java.util.Collection)
-
-