Class ExportSnapshotRecord
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.ExportSnapshotRecord
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>
@Generated("software.amazon.awssdk:codegen") public final class ExportSnapshotRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>
Describes an export snapshot record.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExportSnapshotRecord.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the export snapshot record.static ExportSnapshotRecord.Builderbuilder()InstantcreatedAt()The date when the export snapshot record was created.DestinationInfodestinationInfo()A list of objects describing the destination of the export snapshot record.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceLocationlocation()The AWS Region and Availability Zone where the export snapshot record is located.Stringname()The export snapshot record name.ResourceTyperesourceType()The Lightsail resource type (ExportSnapshotRecord).StringresourceTypeAsString()The Lightsail resource type (ExportSnapshotRecord).List<SdkField<?>>sdkFields()static Class<? extends ExportSnapshotRecord.Builder>serializableBuilderClass()ExportSnapshotRecordSourceInfosourceInfo()A list of objects describing the source of the export snapshot record.RecordStatestate()The state of the export snapshot record.StringstateAsString()The state of the export snapshot record.ExportSnapshotRecord.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The export snapshot record name.
- Returns:
- The export snapshot record name.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the export snapshot record.
- Returns:
- The Amazon Resource Name (ARN) of the export snapshot record.
-
createdAt
public final Instant createdAt()
The date when the export snapshot record was created.
- Returns:
- The date when the export snapshot record was created.
-
location
public final ResourceLocation location()
The AWS Region and Availability Zone where the export snapshot record is located.
- Returns:
- The AWS Region and Availability Zone where the export snapshot record is located.
-
resourceType
public final ResourceType resourceType()
The Lightsail resource type (
ExportSnapshotRecord).If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The Lightsail resource type (
ExportSnapshotRecord). - See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The Lightsail resource type (
ExportSnapshotRecord).If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The Lightsail resource type (
ExportSnapshotRecord). - See Also:
ResourceType
-
state
public final 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,
statewill returnRecordState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the export snapshot record.
- See Also:
RecordState
-
stateAsString
public final 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,
statewill returnRecordState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the export snapshot record.
- See Also:
RecordState
-
sourceInfo
public final ExportSnapshotRecordSourceInfo sourceInfo()
A list of objects describing the source of the export snapshot record.
- Returns:
- A list of objects describing the source of the export snapshot record.
-
destinationInfo
public final DestinationInfo destinationInfo()
A list of objects describing the destination of the export snapshot record.
- Returns:
- A list of objects describing the destination of the export snapshot record.
-
toBuilder
public ExportSnapshotRecord.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportSnapshotRecord.Builder,ExportSnapshotRecord>
-
builder
public static ExportSnapshotRecord.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportSnapshotRecord.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-