@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, Amazon FSx for Lustre file system, Amazon FSx for NetApp ONTAP volume, or Amazon FSx for OpenZFS 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 directory to which the Windows File Server
instance is joined.
|
BackupFailureDetails |
getFailureDetails()
Details explaining any failures that occurred when creating a backup.
|
FileSystem |
getFileSystem()
The metadata of the file system associated with the backup.
|
String |
getKmsKeyId()
The ID of the Key Management Service (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.
|
String |
getOwnerId() |
Integer |
getProgressPercent() |
String |
getResourceARN()
The Amazon Resource Name (ARN) for the backup resource.
|
String |
getResourceType()
Specifies the resource type that's backed up.
|
String |
getSourceBackupId() |
String |
getSourceBackupRegion()
The source Region of the backup.
|
List<Tag> |
getTags()
The tags associated with a particular file system.
|
String |
getType()
The type of the file-system backup.
|
Volume |
getVolume() |
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 directory to which the Windows File Server
instance is joined.
|
void |
setFailureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occurred when creating a backup.
|
void |
setFileSystem(FileSystem fileSystem)
The metadata of the file system associated with the backup.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the Key Management Service (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 |
setOwnerId(String ownerId) |
void |
setProgressPercent(Integer progressPercent) |
void |
setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the backup resource.
|
void |
setResourceType(String resourceType)
Specifies the resource type that's backed up.
|
void |
setSourceBackupId(String sourceBackupId) |
void |
setSourceBackupRegion(String sourceBackupRegion)
The source Region of the backup.
|
void |
setTags(Collection<Tag> tags)
The tags associated with a particular file system.
|
void |
setType(String type)
The type of the file-system backup.
|
void |
setVolume(Volume volume) |
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 directory to which the Windows File Server
instance is joined.
|
Backup |
withFailureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occurred when creating a backup.
|
Backup |
withFileSystem(FileSystem fileSystem)
The metadata of the file system associated with the backup.
|
Backup |
withKmsKeyId(String kmsKeyId)
The ID of the Key Management Service (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 |
withOwnerId(String ownerId) |
Backup |
withProgressPercent(Integer progressPercent) |
Backup |
withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the backup resource.
|
Backup |
withResourceType(ResourceType resourceType)
Specifies the resource type that's backed up.
|
Backup |
withResourceType(String resourceType)
Specifies the resource type that's backed up.
|
Backup |
withSourceBackupId(String sourceBackupId) |
Backup |
withSourceBackupRegion(String sourceBackupRegion)
The source Region of the backup.
|
Backup |
withTags(Collection<Tag> tags)
The tags associated with a particular file system.
|
Backup |
withTags(Tag... tags)
The 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.
|
Backup |
withVolume(Volume volume) |
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.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating
the backup.
CREATING
- Amazon FSx is creating the backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is transferring
the backup to Amazon S3.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
lifecycle
- The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started
creating the backup.
CREATING
- Amazon FSx is creating the backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is
transferring the backup to Amazon S3.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
BackupLifecycle
public String getLifecycle()
The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating
the backup.
CREATING
- Amazon FSx is creating the backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is transferring
the backup to Amazon S3.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
AVAILABLE
- The backup is fully available.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started
creating the backup.
CREATING
- Amazon FSx is creating the backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is
transferring the backup to Amazon S3.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
BackupLifecycle
public Backup withLifecycle(String lifecycle)
The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating
the backup.
CREATING
- Amazon FSx is creating the backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is transferring
the backup to Amazon S3.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
lifecycle
- The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started
creating the backup.
CREATING
- Amazon FSx is creating the backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is
transferring the backup to Amazon S3.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
BackupLifecycle
public Backup withLifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating
the backup.
CREATING
- Amazon FSx is creating the backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is transferring
the backup to Amazon S3.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
lifecycle
- The lifecycle status of the backup.
AVAILABLE
- The backup is fully available.
PENDING
- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started
creating the backup.
CREATING
- Amazon FSx is creating the backup.
TRANSFERRING
- For user-initiated backups on Lustre file systems only; Amazon FSx is
transferring the backup to Amazon S3.
COPYING
- Amazon FSx is copying the backup.
DELETED
- Amazon FSx deleted the backup and it's no longer available.
FAILED
- Amazon FSx couldn't finish the backup.
BackupLifecycle
public void setFailureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occurred when creating a backup.
failureDetails
- Details explaining any failures that occurred when creating a backup.public BackupFailureDetails getFailureDetails()
Details explaining any failures that occurred when creating a backup.
public Backup withFailureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occurred when creating a backup.
failureDetails
- Details explaining any failures that occurred 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 Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
kmsKeyId
- The ID of the Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's
data at rest.public String getKmsKeyId()
The ID of the Key Management Service (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 Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
kmsKeyId
- The ID of the Key Management Service (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()
The tags associated with a particular file system.
public void setTags(Collection<Tag> tags)
The tags associated with a particular file system.
tags
- The tags associated with a particular file system.public Backup withTags(Tag... tags)
The 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
- The tags associated with a particular file system.public Backup withTags(Collection<Tag> tags)
The tags associated with a particular file system.
tags
- The tags associated with a particular file system.public void setFileSystem(FileSystem fileSystem)
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
fileSystem
- The metadata of the file system associated with the backup. This metadata is persisted even if the file
system is deleted.public FileSystem getFileSystem()
The 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)
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
fileSystem
- The 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 directory to which the Windows File Server instance is joined.
directoryInformation
- The configuration of the self-managed Microsoft Active Directory directory to which the Windows File
Server instance is joined.public ActiveDirectoryBackupAttributes getDirectoryInformation()
The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.
public Backup withDirectoryInformation(ActiveDirectoryBackupAttributes directoryInformation)
The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.
directoryInformation
- The configuration of the self-managed Microsoft Active Directory directory to which the Windows File
Server instance is joined.public void setOwnerId(String ownerId)
ownerId
- public String getOwnerId()
public Backup withOwnerId(String ownerId)
ownerId
- public void setSourceBackupId(String sourceBackupId)
sourceBackupId
- public String getSourceBackupId()
public Backup withSourceBackupId(String sourceBackupId)
sourceBackupId
- public void setSourceBackupRegion(String sourceBackupRegion)
The source Region of the backup. Specifies the Region from where this backup is copied.
sourceBackupRegion
- The source Region of the backup. Specifies the Region from where this backup is copied.public String getSourceBackupRegion()
The source Region of the backup. Specifies the Region from where this backup is copied.
public Backup withSourceBackupRegion(String sourceBackupRegion)
The source Region of the backup. Specifies the Region from where this backup is copied.
sourceBackupRegion
- The source Region of the backup. Specifies the Region from where this backup is copied.public void setResourceType(String resourceType)
Specifies the resource type that's backed up.
resourceType
- Specifies the resource type that's backed up.ResourceType
public String getResourceType()
Specifies the resource type that's backed up.
ResourceType
public Backup withResourceType(String resourceType)
Specifies the resource type that's backed up.
resourceType
- Specifies the resource type that's backed up.ResourceType
public Backup withResourceType(ResourceType resourceType)
Specifies the resource type that's backed up.
resourceType
- Specifies the resource type that's backed up.ResourceType
public void setVolume(Volume volume)
volume
- public Volume getVolume()
public Backup withVolume(Volume volume)
volume
- 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.