@Generated(value="software.amazon.awssdk:codegen") public final class ExportSnapshotRecordSourceInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportSnapshotRecordSourceInfo.Builder,ExportSnapshotRecordSourceInfo>
Describes the source of an export snapshot record.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExportSnapshotRecordSourceInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the source instance or disk snapshot.
|
static ExportSnapshotRecordSourceInfo.Builder |
builder() |
Instant |
createdAt()
The date when the source instance or disk snapshot was created.
|
DiskSnapshotInfo |
diskSnapshotInfo()
A list of objects describing a disk snapshot.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fromResourceArn()
The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
|
String |
fromResourceName()
The name of the snapshot's source instance or disk.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InstanceSnapshotInfo |
instanceSnapshotInfo()
A list of objects describing an instance snapshot.
|
String |
name()
The name of the source instance or disk snapshot.
|
ExportSnapshotRecordSourceType |
resourceType()
The Lightsail resource type (e.g.,
InstanceSnapshot or DiskSnapshot). |
String |
resourceTypeAsString()
The Lightsail resource type (e.g.,
InstanceSnapshot or DiskSnapshot). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportSnapshotRecordSourceInfo.Builder> |
serializableBuilderClass() |
ExportSnapshotRecordSourceInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ExportSnapshotRecordSourceType resourceType()
The Lightsail resource type (e.g., InstanceSnapshot or DiskSnapshot).
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ExportSnapshotRecordSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from resourceTypeAsString().
InstanceSnapshot or DiskSnapshot).ExportSnapshotRecordSourceTypepublic final String resourceTypeAsString()
The Lightsail resource type (e.g., InstanceSnapshot or DiskSnapshot).
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ExportSnapshotRecordSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from resourceTypeAsString().
InstanceSnapshot or DiskSnapshot).ExportSnapshotRecordSourceTypepublic final Instant createdAt()
The date when the source instance or disk snapshot was created.
public final String name()
The name of the source instance or disk snapshot.
public final String arn()
The Amazon Resource Name (ARN) of the source instance or disk snapshot.
public final String fromResourceName()
The name of the snapshot's source instance or disk.
public final String fromResourceArn()
The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
public final InstanceSnapshotInfo instanceSnapshotInfo()
A list of objects describing an instance snapshot.
public final DiskSnapshotInfo diskSnapshotInfo()
A list of objects describing a disk snapshot.
public ExportSnapshotRecordSourceInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExportSnapshotRecordSourceInfo.Builder,ExportSnapshotRecordSourceInfo>public static ExportSnapshotRecordSourceInfo.Builder builder()
public static Class<? extends ExportSnapshotRecordSourceInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.