@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 (e.g.,
os_debian_8_3). |
String |
getFromBundleId()
The bundle ID from which the source instance was created (e.g.,
micro_1_0). |
List<DiskInfo> |
getFromDiskInfo()
A list of objects describing the disks that were attached to the source instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFromBlueprintId(String fromBlueprintId)
The blueprint ID from which the source instance (e.g.,
os_debian_8_3). |
void |
setFromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (e.g.,
micro_1_0). |
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 (e.g.,
os_debian_8_3). |
InstanceSnapshotInfo |
withFromBundleId(String fromBundleId)
The bundle ID from which the source instance was created (e.g.,
micro_1_0). |
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 (e.g., micro_1_0).
fromBundleId - The bundle ID from which the source instance was created (e.g., micro_1_0).public String getFromBundleId()
The bundle ID from which the source instance was created (e.g., micro_1_0).
micro_1_0).public InstanceSnapshotInfo withFromBundleId(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).public void setFromBlueprintId(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).public String getFromBlueprintId()
The blueprint ID from which the source instance (e.g., os_debian_8_3).
os_debian_8_3).public InstanceSnapshotInfo withFromBlueprintId(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).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)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.