@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Backup extends Object implements Serializable, Cloneable, StructuredPojo
A backup of an Amazon FSx for file system.
Constructor and Description |
---|
Backup() |
Modifier and Type | Method and Description |
---|---|
Backup |
clone() |
boolean |
equals(Object obj) |
String |
getBackupId()
The ID of the backup.
|
Date |
getCreationTime()
The time when a particular backup was created.
|
ActiveDirectoryBackupAttributes |
getDirectoryInformation()
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance
is joined.
|
BackupFailureDetails |
getFailureDetails()
Details explaining any failures that occur when creating a backup.
|
FileSystem |
getFileSystem()
Metadata of the file system associated with the backup.
|
String |
getKmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's
data at rest.
|
String |
getLifecycle()
The lifecycle status of the backup.
|
Integer |
getProgressPercent() |
String |
getResourceARN()
The Amazon Resource Name (ARN) for the backup resource.
|
List<Tag> |
getTags()
Tags associated with a particular file system.
|
String |
getType()
The type of the file system backup.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackupId(String backupId)
The ID of the backup.
|
void |
setCreationTime(Date creationTime)
The time when a particular backup was created.
|
void |
setDirectoryInformation(ActiveDirectoryBackupAttributes directoryInformation)
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance
is joined.
|
void |
setFailureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occur when creating a backup.
|
void |
setFileSystem(FileSystem fileSystem)
Metadata of the file system associated with the backup.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's
data at rest.
|
void |
setLifecycle(String lifecycle)
The lifecycle status of the backup.
|
void |
setProgressPercent(Integer progressPercent) |
void |
setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the backup resource.
|
void |
setTags(Collection<Tag> tags)
Tags associated with a particular file system.
|
void |
setType(String type)
The type of the file system backup.
|
String |
toString()
Returns a string representation of this object.
|
Backup |
withBackupId(String backupId)
The ID of the backup.
|
Backup |
withCreationTime(Date creationTime)
The time when a particular backup was created.
|
Backup |
withDirectoryInformation(ActiveDirectoryBackupAttributes directoryInformation)
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance
is joined.
|
Backup |
withFailureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occur when creating a backup.
|
Backup |
withFileSystem(FileSystem fileSystem)
Metadata of the file system associated with the backup.
|
Backup |
withKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's
data at rest.
|
Backup |
withLifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
|
Backup |
withLifecycle(String lifecycle)
The lifecycle status of the backup.
|
Backup |
withProgressPercent(Integer progressPercent) |
Backup |
withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the backup resource.
|
Backup |
withTags(Collection<Tag> tags)
Tags associated with a particular file system.
|
Backup |
withTags(Tag... tags)
Tags associated with a particular file system.
|
Backup |
withType(BackupType type)
The type of the file system backup.
|
Backup |
withType(String type)
The type of the file system backup.
|
public void setBackupId(String backupId)
The ID of the backup.
backupId
- The ID of the backup.public String getBackupId()
The ID of the backup.
public Backup withBackupId(String backupId)
The ID of the backup.
backupId
- The ID of the backup.public void setLifecycle(String lifecycle)
The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
CREATING
- FSx is creating the backup.
TRANSFERRING
- For Lustre file systems only; FSx is transferring the backup to S3.
DELETED
- The backup was deleted is no longer available.
FAILED
- Amazon FSx could not complete the backup.
lifecycle
- The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
CREATING
- FSx is creating the backup.
TRANSFERRING
- For Lustre file systems only; FSx is transferring the backup to S3.
DELETED
- The backup was deleted is no longer available.
FAILED
- Amazon FSx could not complete the backup.
BackupLifecycle
public String getLifecycle()
The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
CREATING
- FSx is creating the backup.
TRANSFERRING
- For Lustre file systems only; FSx is transferring the backup to S3.
DELETED
- The backup was deleted is no longer available.
FAILED
- Amazon FSx could not complete the backup.
AVAILABLE
- The backup is fully available.
CREATING
- FSx is creating the backup.
TRANSFERRING
- For Lustre file systems only; FSx is transferring the backup to S3.
DELETED
- The backup was deleted is no longer available.
FAILED
- Amazon FSx could not complete the backup.
BackupLifecycle
public Backup withLifecycle(String lifecycle)
The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
CREATING
- FSx is creating the backup.
TRANSFERRING
- For Lustre file systems only; FSx is transferring the backup to S3.
DELETED
- The backup was deleted is no longer available.
FAILED
- Amazon FSx could not complete the backup.
lifecycle
- The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
CREATING
- FSx is creating the backup.
TRANSFERRING
- For Lustre file systems only; FSx is transferring the backup to S3.
DELETED
- The backup was deleted is no longer available.
FAILED
- Amazon FSx could not complete the backup.
BackupLifecycle
public Backup withLifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
CREATING
- FSx is creating the backup.
TRANSFERRING
- For Lustre file systems only; FSx is transferring the backup to S3.
DELETED
- The backup was deleted is no longer available.
FAILED
- Amazon FSx could not complete the backup.
lifecycle
- The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
CREATING
- FSx is creating the backup.
TRANSFERRING
- For Lustre file systems only; FSx is transferring the backup to S3.
DELETED
- The backup was deleted is no longer available.
FAILED
- Amazon FSx could not complete the backup.
BackupLifecycle
public void setFailureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occur when creating a backup.
failureDetails
- Details explaining any failures that occur when creating a backup.public BackupFailureDetails getFailureDetails()
Details explaining any failures that occur when creating a backup.
public Backup withFailureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occur when creating a backup.
failureDetails
- Details explaining any failures that occur when creating a backup.public void setType(String type)
The type of the file system backup.
type
- The type of the file system backup.BackupType
public String getType()
The type of the file system backup.
BackupType
public Backup withType(String type)
The type of the file system backup.
type
- The type of the file system backup.BackupType
public Backup withType(BackupType type)
The type of the file system backup.
type
- The type of the file system backup.BackupType
public void setProgressPercent(Integer progressPercent)
progressPercent
- public Integer getProgressPercent()
public Backup withProgressPercent(Integer progressPercent)
progressPercent
- public void setCreationTime(Date creationTime)
The time when a particular backup was created.
creationTime
- The time when a particular backup was created.public Date getCreationTime()
The time when a particular backup was created.
public Backup withCreationTime(Date creationTime)
The time when a particular backup was created.
creationTime
- The time when a particular backup was created.public void setKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
kmsKeyId
- The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file
system's data at rest.public String getKmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
public Backup withKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
kmsKeyId
- The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file
system's data at rest.public void setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the backup resource.
resourceARN
- The Amazon Resource Name (ARN) for the backup resource.public String getResourceARN()
The Amazon Resource Name (ARN) for the backup resource.
public Backup withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the backup resource.
resourceARN
- The Amazon Resource Name (ARN) for the backup resource.public List<Tag> getTags()
Tags associated with a particular file system.
public void setTags(Collection<Tag> tags)
Tags associated with a particular file system.
tags
- Tags associated with a particular file system.public Backup withTags(Tag... tags)
Tags associated with a particular file system.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags associated with a particular file system.public Backup withTags(Collection<Tag> tags)
Tags associated with a particular file system.
tags
- Tags associated with a particular file system.public void setFileSystem(FileSystem fileSystem)
Metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
fileSystem
- Metadata of the file system associated with the backup. This metadata is persisted even if the file system
is deleted.public FileSystem getFileSystem()
Metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
public Backup withFileSystem(FileSystem fileSystem)
Metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
fileSystem
- Metadata of the file system associated with the backup. This metadata is persisted even if the file system
is deleted.public void setDirectoryInformation(ActiveDirectoryBackupAttributes directoryInformation)
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.
directoryInformation
- The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server
instance is joined.public ActiveDirectoryBackupAttributes getDirectoryInformation()
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.
public Backup withDirectoryInformation(ActiveDirectoryBackupAttributes directoryInformation)
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.
directoryInformation
- The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server
instance is joined.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.