* 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 Region where they are created. They consist of lowercase letters, * numbers, and hyphens. *
*/ private String backupVaultName; /** *
* An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
*
* An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example,
* arn:aws:sns:us-west-2:111122223333:MyTopic
.
*
* An array of events that indicate the status of jobs to back up resources to the backup vault. *
*/ private java.util.List* 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 Region where they are created. They consist of lowercase letters, * numbers, and hyphens. *
* * @param 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 Region where they are created. They consist of lowercase * letters, numbers, and hyphens. */ public void setBackupVaultName(String backupVaultName) { this.backupVaultName = 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 Region where they are created. They consist of lowercase letters, * numbers, and hyphens. *
* * @return 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 Region where they are created. They consist of * lowercase letters, numbers, and hyphens. */ public String getBackupVaultName() { return this.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 Region where they are created. They consist of lowercase letters, * numbers, and hyphens. *
* * @param 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 Region where they are created. They consist of lowercase * letters, numbers, and hyphens. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBackupVaultNotificationsResult withBackupVaultName(String backupVaultName) { setBackupVaultName(backupVaultName); return this; } /** *
* 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 void setBackupVaultArn(String backupVaultArn) {
this.backupVaultArn = backupVaultArn;
}
/**
*
* 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 String getBackupVaultArn() {
return this.backupVaultArn;
}
/**
*
* 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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupVaultNotificationsResult withBackupVaultArn(String backupVaultArn) {
setBackupVaultArn(backupVaultArn);
return this;
}
/**
*
* An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example,
* arn:aws:sns:us-west-2:111122223333:MyTopic
.
*
arn:aws:sns:us-west-2:111122223333:MyTopic
.
*/
public void setSNSTopicArn(String sNSTopicArn) {
this.sNSTopicArn = sNSTopicArn;
}
/**
*
* An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example,
* arn:aws:sns:us-west-2:111122223333:MyTopic
.
*
arn:aws:sns:us-west-2:111122223333:MyTopic
.
*/
public String getSNSTopicArn() {
return this.sNSTopicArn;
}
/**
*
* An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example,
* arn:aws:sns:us-west-2:111122223333:MyTopic
.
*
arn:aws:sns:us-west-2:111122223333:MyTopic
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupVaultNotificationsResult withSNSTopicArn(String sNSTopicArn) {
setSNSTopicArn(sNSTopicArn);
return this;
}
/**
* * An array of events that indicate the status of jobs to back up resources to the backup vault. *
* * @return An array of events that indicate the status of jobs to back up resources to the backup vault. * @see BackupVaultEvent */ public java.util.List* An array of events that indicate the status of jobs to back up resources to the backup vault. *
* * @param backupVaultEvents * An array of events that indicate the status of jobs to back up resources to the backup vault. * @see BackupVaultEvent */ public void setBackupVaultEvents(java.util.Collection* An array of events that indicate the status of jobs to back up resources to the backup vault. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setBackupVaultEvents(java.util.Collection)} or {@link #withBackupVaultEvents(java.util.Collection)} if * you want to override the existing values. *
* * @param backupVaultEvents * An array of events that indicate the status of jobs to back up resources to the backup vault. * @return Returns a reference to this object so that method calls can be chained together. * @see BackupVaultEvent */ public GetBackupVaultNotificationsResult withBackupVaultEvents(String... backupVaultEvents) { if (this.backupVaultEvents == null) { setBackupVaultEvents(new java.util.ArrayList* An array of events that indicate the status of jobs to back up resources to the backup vault. *
* * @param backupVaultEvents * An array of events that indicate the status of jobs to back up resources to the backup vault. * @return Returns a reference to this object so that method calls can be chained together. * @see BackupVaultEvent */ public GetBackupVaultNotificationsResult withBackupVaultEvents(java.util.Collection* An array of events that indicate the status of jobs to back up resources to the backup vault. *
* * @param backupVaultEvents * An array of events that indicate the status of jobs to back up resources to the backup vault. * @return Returns a reference to this object so that method calls can be chained together. * @see BackupVaultEvent */ public GetBackupVaultNotificationsResult withBackupVaultEvents(BackupVaultEvent... backupVaultEvents) { java.util.ArrayList