@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 Windows File Server file system. You can create a new file system from a backup to protect against data loss.
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 this backup of the Amazon FSx for Windows
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 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 this backup of the Amazon FSx for Windows
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 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 this backup of the Amazon FSx for Windows
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 backup.
|
Backup |
withType(String type)
The type of the 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.
lifecycle
- The lifecycle status of the backup.BackupLifecycle
public String getLifecycle()
The lifecycle status of the backup.
BackupLifecycle
public Backup withLifecycle(String lifecycle)
The lifecycle status of the backup.
lifecycle
- The lifecycle status of the backup.BackupLifecycle
public Backup withLifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
lifecycle
- The lifecycle status of 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 backup.
type
- The type of the backup.BackupType
public String getType()
The type of the backup.
BackupType
public Backup withType(String type)
The type of the backup.
type
- The type of the backup.BackupType
public Backup withType(BackupType type)
The type of the backup.
type
- The type of the 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 this backup of the Amazon FSx for Windows file system's data at rest. Amazon FSx for Lustre does not support KMS encryption.
kmsKeyId
- The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup of the Amazon FSx for
Windows file system's data at rest. Amazon FSx for Lustre does not support KMS encryption.public String getKmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup of the Amazon FSx for Windows file system's data at rest. Amazon FSx for Lustre does not support KMS encryption.
public Backup withKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup of the Amazon FSx for Windows file system's data at rest. Amazon FSx for Lustre does not support KMS encryption.
kmsKeyId
- The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup of the Amazon FSx for
Windows file system's data at rest. Amazon FSx for Lustre does not support KMS encryption.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.