@Generated(value="software.amazon.awssdk:codegen") public final class InstanceSnapshotInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceSnapshotInfo.Builder,InstanceSnapshotInfo>
Describes an instance snapshot.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceSnapshotInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceSnapshotInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fromBlueprintId()
The blueprint ID from which the source instance (e.g.,
os_debian_8_3). |
String |
fromBundleId()
The bundle ID from which the source instance was created (e.g.,
micro_1_0). |
List<DiskInfo> |
fromDiskInfo()
A list of objects describing the disks that were attached to the source instance.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFromDiskInfo()
Returns true if the FromDiskInfo property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceSnapshotInfo.Builder> |
serializableBuilderClass() |
InstanceSnapshotInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fromBundleId()
The bundle ID from which the source instance was created (e.g., micro_1_0).
micro_1_0).public final String fromBlueprintId()
The blueprint ID from which the source instance (e.g., os_debian_8_3).
os_debian_8_3).public final boolean hasFromDiskInfo()
public final List<DiskInfo> fromDiskInfo()
A list of objects describing the disks that were attached to the source instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFromDiskInfo() to see if a value was sent in this field.
public InstanceSnapshotInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceSnapshotInfo.Builder,InstanceSnapshotInfo>public static InstanceSnapshotInfo.Builder builder()
public static Class<? extends InstanceSnapshotInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.