@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackupVaultListMember extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata about a backup vault.
Constructor and Description |
---|
BackupVaultListMember() |
Modifier and Type | Method and Description |
---|---|
BackupVaultListMember |
clone() |
boolean |
equals(Object obj) |
String |
getBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
String |
getBackupVaultName()
The name of a logical container where backups are stored.
|
Date |
getCreationDate()
The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC).
|
String |
getCreatorRequestId()
A unique string that identifies the request and allows failed requests to be retried without the risk of running
the operation twice.
|
String |
getEncryptionKeyArn()
A server-side encryption key you can specify to encrypt your backups from services that support full Backup
management; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. |
Date |
getLockDate()
The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or
deleted.
|
Boolean |
getLocked()
A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault.
|
Long |
getMaxRetentionDays()
The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery
points.
|
Long |
getMinRetentionDays()
The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery
points.
|
Long |
getNumberOfRecoveryPoints()
The number of recovery points that are stored in a backup vault.
|
int |
hashCode() |
Boolean |
isLocked()
A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackupVaultArn(String backupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
void |
setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
void |
setCreationDate(Date creationDate)
The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC).
|
void |
setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and allows failed requests to be retried without the risk of running
the operation twice.
|
void |
setEncryptionKeyArn(String encryptionKeyArn)
A server-side encryption key you can specify to encrypt your backups from services that support full Backup
management; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. |
void |
setLockDate(Date lockDate)
The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or
deleted.
|
void |
setLocked(Boolean locked)
A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault.
|
void |
setMaxRetentionDays(Long maxRetentionDays)
The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery
points.
|
void |
setMinRetentionDays(Long minRetentionDays)
The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery
points.
|
void |
setNumberOfRecoveryPoints(Long numberOfRecoveryPoints)
The number of recovery points that are stored in a backup vault.
|
String |
toString()
Returns a string representation of this object.
|
BackupVaultListMember |
withBackupVaultArn(String backupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
BackupVaultListMember |
withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
BackupVaultListMember |
withCreationDate(Date creationDate)
The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC).
|
BackupVaultListMember |
withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and allows failed requests to be retried without the risk of running
the operation twice.
|
BackupVaultListMember |
withEncryptionKeyArn(String encryptionKeyArn)
A server-side encryption key you can specify to encrypt your backups from services that support full Backup
management; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. |
BackupVaultListMember |
withLockDate(Date lockDate)
The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or
deleted.
|
BackupVaultListMember |
withLocked(Boolean locked)
A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault.
|
BackupVaultListMember |
withMaxRetentionDays(Long maxRetentionDays)
The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery
points.
|
BackupVaultListMember |
withMinRetentionDays(Long minRetentionDays)
The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery
points.
|
BackupVaultListMember |
withNumberOfRecoveryPoints(Long numberOfRecoveryPoints)
The number of recovery points that are stored in a backup vault.
|
public void setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backupVaultName
- The name of a logical container where backups are stored. Backup vaults are identified by names that are
unique to the account used to create them and the Amazon Web Services Region where they are created. They
consist of lowercase letters, numbers, and hyphens.public String getBackupVaultName()
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
public BackupVaultListMember withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backupVaultName
- The name of a logical container where backups are stored. Backup vaults are identified by names that are
unique to the account used to create them and the Amazon Web Services Region where they are created. They
consist of lowercase letters, numbers, and hyphens.public void setBackupVaultArn(String backupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
backupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public String getBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public BackupVaultListMember withBackupVaultArn(String backupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
backupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public void setCreationDate(Date creationDate)
The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
creationDate
- The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC). The
value of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public Date getCreationDate()
The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public BackupVaultListMember withCreationDate(Date creationDate)
The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
creationDate
- The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC). The
value of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public void setEncryptionKeyArn(String encryptionKeyArn)
A server-side encryption key you can specify to encrypt your backups from services that support full Backup
management; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, Backup creates a
KMS key for you by default.
To learn which Backup services support full Backup management and how Backup handles encryption for backups from services that do not yet support full Backup, see Encryption for backups in Backup
encryptionKeyArn
- A server-side encryption key you can specify to encrypt your backups from services that support full
Backup management; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. If you specify a
key, you must specify its ARN, not its alias. If you do not specify a key, Backup creates a KMS key for
you by default.
To learn which Backup services support full Backup management and how Backup handles encryption for backups from services that do not yet support full Backup, see Encryption for backups in Backup
public String getEncryptionKeyArn()
A server-side encryption key you can specify to encrypt your backups from services that support full Backup
management; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, Backup creates a
KMS key for you by default.
To learn which Backup services support full Backup management and how Backup handles encryption for backups from services that do not yet support full Backup, see Encryption for backups in Backup
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. If you specify
a key, you must specify its ARN, not its alias. If you do not specify a key, Backup creates a KMS key for
you by default.
To learn which Backup services support full Backup management and how Backup handles encryption for backups from services that do not yet support full Backup, see Encryption for backups in Backup
public BackupVaultListMember withEncryptionKeyArn(String encryptionKeyArn)
A server-side encryption key you can specify to encrypt your backups from services that support full Backup
management; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, Backup creates a
KMS key for you by default.
To learn which Backup services support full Backup management and how Backup handles encryption for backups from services that do not yet support full Backup, see Encryption for backups in Backup
encryptionKeyArn
- A server-side encryption key you can specify to encrypt your backups from services that support full
Backup management; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. If you specify a
key, you must specify its ARN, not its alias. If you do not specify a key, Backup creates a KMS key for
you by default.
To learn which Backup services support full Backup management and how Backup handles encryption for backups from services that do not yet support full Backup, see Encryption for backups in Backup
public void setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
creatorRequestId
- A unique string that identifies the request and allows failed requests to be retried without the risk of
running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
public String getCreatorRequestId()
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
public BackupVaultListMember withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
creatorRequestId
- A unique string that identifies the request and allows failed requests to be retried without the risk of
running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
public void setNumberOfRecoveryPoints(Long numberOfRecoveryPoints)
The number of recovery points that are stored in a backup vault.
numberOfRecoveryPoints
- The number of recovery points that are stored in a backup vault.public Long getNumberOfRecoveryPoints()
The number of recovery points that are stored in a backup vault.
public BackupVaultListMember withNumberOfRecoveryPoints(Long numberOfRecoveryPoints)
The number of recovery points that are stored in a backup vault.
numberOfRecoveryPoints
- The number of recovery points that are stored in a backup vault.public void setLocked(Boolean locked)
A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault. If
true
, Vault Lock prevents delete and update operations on the recovery points in the selected vault.
locked
- A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault. If
true
, Vault Lock prevents delete and update operations on the recovery points in the selected
vault.public Boolean getLocked()
A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault. If
true
, Vault Lock prevents delete and update operations on the recovery points in the selected vault.
true
, Vault Lock prevents delete and update operations on the recovery points in the
selected vault.public BackupVaultListMember withLocked(Boolean locked)
A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault. If
true
, Vault Lock prevents delete and update operations on the recovery points in the selected vault.
locked
- A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault. If
true
, Vault Lock prevents delete and update operations on the recovery points in the selected
vault.public Boolean isLocked()
A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault. If
true
, Vault Lock prevents delete and update operations on the recovery points in the selected vault.
true
, Vault Lock prevents delete and update operations on the recovery points in the
selected vault.public void setMinRetentionDays(Long minRetentionDays)
The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
minRetentionDays
- The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its
recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention
period.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
public Long getMinRetentionDays()
The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
public BackupVaultListMember withMinRetentionDays(Long minRetentionDays)
The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
minRetentionDays
- The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its
recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention
period.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
public void setMaxRetentionDays(Long maxRetentionDays)
The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
maxRetentionDays
- The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its
recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention
period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
public Long getMaxRetentionDays()
The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
public BackupVaultListMember withMaxRetentionDays(Long maxRetentionDays)
The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
maxRetentionDays
- The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its
recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention
period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
public void setLockDate(Date lockDate)
The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or deleted.
If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
lockDate
- The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or
deleted.
If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
public Date getLockDate()
The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or deleted.
If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
public BackupVaultListMember withLockDate(Date lockDate)
The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or deleted.
If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
lockDate
- The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or
deleted.
If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
public String toString()
toString
in class Object
Object.toString()
public BackupVaultListMember clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.