@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) |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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
).ExportSnapshotRecordSourceType
public 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
).ExportSnapshotRecordSourceType
public Instant createdAt()
The date when the source instance or disk snapshot was created.
public String name()
The name of the source instance or disk snapshot.
public String arn()
The Amazon Resource Name (ARN) of the source instance or disk snapshot.
public String fromResourceName()
The name of the snapshot's source instance or disk.
public String fromResourceArn()
The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
public InstanceSnapshotInfo instanceSnapshotInfo()
A list of objects describing an instance snapshot.
public DiskSnapshotInfo diskSnapshotInfo()
A list of objects describing a disk snapshot.
public ExportSnapshotRecordSourceInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ExportSnapshotRecordSourceInfo.Builder,ExportSnapshotRecordSourceInfo>
public static ExportSnapshotRecordSourceInfo.Builder builder()
public static Class<? extends ExportSnapshotRecordSourceInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.