@Generated(value="software.amazon.awssdk:codegen") public final class Backup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Backup.Builder,Backup>
A backup of an Amazon FSx for Windows File Server file system. You can create a new file system from a backup to protect against data loss.
Modifier and Type | Class and Description |
---|---|
static interface |
Backup.Builder |
Modifier and Type | Method and Description |
---|---|
String |
backupId()
The ID of the backup.
|
static Backup.Builder |
builder() |
Instant |
creationTime()
The time when a particular backup was created.
|
boolean |
equals(Object obj) |
BackupFailureDetails |
failureDetails()
Details explaining any failures that occur when creating a backup.
|
FileSystem |
fileSystem()
Metadata of the file system associated with the backup.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup's data.
|
BackupLifecycle |
lifecycle()
The lifecycle status of the backup.
|
String |
lifecycleAsString()
The lifecycle status of the backup.
|
Integer |
progressPercent()
Returns the value of the ProgressPercent property for this object.
|
String |
resourceARN()
The Amazon Resource Name (ARN) for the backup resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Backup.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Tags associated with a particular file system.
|
Backup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
BackupType |
type()
The type of the backup.
|
String |
typeAsString()
The type of the backup.
|
copy
public String backupId()
The ID of the backup.
public BackupLifecycle lifecycle()
The lifecycle status of the backup.
If the service returns an enum value that is not available in the current SDK version, lifecycle
will
return BackupLifecycle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
lifecycleAsString()
.
BackupLifecycle
public String lifecycleAsString()
The lifecycle status of the backup.
If the service returns an enum value that is not available in the current SDK version, lifecycle
will
return BackupLifecycle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
lifecycleAsString()
.
BackupLifecycle
public BackupFailureDetails failureDetails()
Details explaining any failures that occur when creating a backup.
public BackupType type()
The type of the backup.
If the service returns an enum value that is not available in the current SDK version, type
will return
BackupType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
BackupType
public String typeAsString()
The type of the backup.
If the service returns an enum value that is not available in the current SDK version, type
will return
BackupType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
BackupType
public Integer progressPercent()
public Instant creationTime()
The time when a particular backup was created.
public String kmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup's data.
public String resourceARN()
The Amazon Resource Name (ARN) for the backup resource.
public List<Tag> tags()
Tags associated with a particular file system.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public FileSystem fileSystem()
Metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
public Backup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Backup.Builder,Backup>
public static Backup.Builder builder()
public static Class<? extends Backup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.