@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceSnapshotInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes an instance snapshot.
| Constructor and Description |
|---|
InstanceSnapshotInfo() |
| Modifier and Type | Method and Description |
|---|---|
InstanceSnapshotInfo |
clone() |
boolean |
equals(Object obj) |
String |
getFromBlueprintId()
The blueprint ID from which the source instance (
amazon_linux_2023). |
String |
getFromBundleId()
The bundle ID from which the source instance was created (
micro_x_x). |
List<DiskInfo> |
getFromDiskInfo()
A list of objects describing the disks that were attached to the source instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFromBlueprintId(String fromBlueprintId)
The blueprint ID from which the source instance (
amazon_linux_2023). |
void |
setFromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (
micro_x_x). |
void |
setFromDiskInfo(Collection<DiskInfo> fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
|
String |
toString()
Returns a string representation of this object.
|
InstanceSnapshotInfo |
withFromBlueprintId(String fromBlueprintId)
The blueprint ID from which the source instance (
amazon_linux_2023). |
InstanceSnapshotInfo |
withFromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (
micro_x_x). |
InstanceSnapshotInfo |
withFromDiskInfo(Collection<DiskInfo> fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
|
InstanceSnapshotInfo |
withFromDiskInfo(DiskInfo... fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
|
public void setFromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (micro_x_x).
fromBundleId - The bundle ID from which the source instance was created (micro_x_x).public String getFromBundleId()
The bundle ID from which the source instance was created (micro_x_x).
micro_x_x).public InstanceSnapshotInfo withFromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (micro_x_x).
fromBundleId - The bundle ID from which the source instance was created (micro_x_x).public void setFromBlueprintId(String fromBlueprintId)
The blueprint ID from which the source instance (amazon_linux_2023).
fromBlueprintId - The blueprint ID from which the source instance (amazon_linux_2023).public String getFromBlueprintId()
The blueprint ID from which the source instance (amazon_linux_2023).
amazon_linux_2023).public InstanceSnapshotInfo withFromBlueprintId(String fromBlueprintId)
The blueprint ID from which the source instance (amazon_linux_2023).
fromBlueprintId - The blueprint ID from which the source instance (amazon_linux_2023).public List<DiskInfo> getFromDiskInfo()
A list of objects describing the disks that were attached to the source instance.
public void setFromDiskInfo(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.public InstanceSnapshotInfo withFromDiskInfo(DiskInfo... fromDiskInfo)
A list of objects describing the disks that were attached to the source instance.
NOTE: This method appends the values to the existing list (if any). Use
setFromDiskInfo(java.util.Collection) or withFromDiskInfo(java.util.Collection) if you want to
override the existing values.
fromDiskInfo - A list of objects describing the disks that were attached to the source instance.public InstanceSnapshotInfo withFromDiskInfo(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.public String toString()
toString in class ObjectObject.toString()public InstanceSnapshotInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.