@Generated(value="software.amazon.awssdk:codegen") public final class ExportSnapshotRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>
Describes an export snapshot record.
Modifier and Type | Class and Description |
---|---|
static interface |
ExportSnapshotRecord.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the export snapshot record.
|
static ExportSnapshotRecord.Builder |
builder() |
Instant |
createdAt()
The date when the export snapshot record was created.
|
DestinationInfo |
destinationInfo()
A list of objects describing the destination of the export snapshot record.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceLocation |
location()
The AWS Region and Availability Zone where the export snapshot record is located.
|
String |
name()
The export snapshot record name.
|
ResourceType |
resourceType()
The Lightsail resource type (e.g.,
ExportSnapshotRecord ). |
String |
resourceTypeAsString()
The Lightsail resource type (e.g.,
ExportSnapshotRecord ). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportSnapshotRecord.Builder> |
serializableBuilderClass() |
ExportSnapshotRecordSourceInfo |
sourceInfo()
A list of objects describing the source of the export snapshot record.
|
RecordState |
state()
The state of the export snapshot record.
|
String |
stateAsString()
The state of the export snapshot record.
|
ExportSnapshotRecord.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The export snapshot record name.
public String arn()
The Amazon Resource Name (ARN) of the export snapshot record.
public Instant createdAt()
The date when the export snapshot record was created.
public ResourceLocation location()
The AWS Region and Availability Zone where the export snapshot record is located.
public ResourceType resourceType()
The Lightsail resource type (e.g., ExportSnapshotRecord
).
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ExportSnapshotRecord
).ResourceType
public String resourceTypeAsString()
The Lightsail resource type (e.g., ExportSnapshotRecord
).
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ExportSnapshotRecord
).ResourceType
public RecordState state()
The state of the export snapshot record.
If the service returns an enum value that is not available in the current SDK version, state
will return
RecordState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
RecordState
public String stateAsString()
The state of the export snapshot record.
If the service returns an enum value that is not available in the current SDK version, state
will return
RecordState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
RecordState
public ExportSnapshotRecordSourceInfo sourceInfo()
A list of objects describing the source of the export snapshot record.
public DestinationInfo destinationInfo()
A list of objects describing the destination of the export snapshot record.
public ExportSnapshotRecord.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>
public static ExportSnapshotRecord.Builder builder()
public static Class<? extends ExportSnapshotRecord.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.