@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutBackupVaultNotificationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutBackupVaultNotificationsRequest() |
Modifier and Type | Method and Description |
---|---|
PutBackupVaultNotificationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getBackupVaultEvents()
An array of events that indicate the status of jobs to back up resources to the backup vault.
|
String |
getBackupVaultName()
The name of a logical container where backups are stored.
|
String |
getSNSTopicArn()
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic . |
int |
hashCode() |
void |
setBackupVaultEvents(Collection<String> backupVaultEvents)
An array of events that indicate the status of jobs to back up resources to the backup vault.
|
void |
setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
void |
setSNSTopicArn(String sNSTopicArn)
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic . |
String |
toString()
Returns a string representation of this object.
|
PutBackupVaultNotificationsRequest |
withBackupVaultEvents(BackupVaultEvent... backupVaultEvents)
An array of events that indicate the status of jobs to back up resources to the backup vault.
|
PutBackupVaultNotificationsRequest |
withBackupVaultEvents(Collection<String> backupVaultEvents)
An array of events that indicate the status of jobs to back up resources to the backup vault.
|
PutBackupVaultNotificationsRequest |
withBackupVaultEvents(String... backupVaultEvents)
An array of events that indicate the status of jobs to back up resources to the backup vault.
|
PutBackupVaultNotificationsRequest |
withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
PutBackupVaultNotificationsRequest |
withSNSTopicArn(String sNSTopicArn)
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 PutBackupVaultNotificationsRequest 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 setSNSTopicArn(String sNSTopicArn)
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic
.
sNSTopicArn
- The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic
.public String getSNSTopicArn()
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic
.
arn:aws:sns:us-west-2:111122223333:MyVaultTopic
.public PutBackupVaultNotificationsRequest withSNSTopicArn(String sNSTopicArn)
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic
.
sNSTopicArn
- The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic
.public List<String> getBackupVaultEvents()
An array of events that indicate the status of jobs to back up resources to the backup vault.
The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and
RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
BackupVaultEvent
public void setBackupVaultEvents(Collection<String> backupVaultEvents)
An array of events that indicate the status of jobs to back up resources to the backup vault.
The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
backupVaultEvents
- An array of events that indicate the status of jobs to back up resources to the backup vault. The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and
RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
BackupVaultEvent
public PutBackupVaultNotificationsRequest withBackupVaultEvents(String... backupVaultEvents)
An array of events that indicate the status of jobs to back up resources to the backup vault.
The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
NOTE: This method appends the values to the existing list (if any). Use
setBackupVaultEvents(java.util.Collection)
or withBackupVaultEvents(java.util.Collection)
if
you want to override the existing values.
backupVaultEvents
- An array of events that indicate the status of jobs to back up resources to the backup vault. The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and
RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
BackupVaultEvent
public PutBackupVaultNotificationsRequest withBackupVaultEvents(Collection<String> backupVaultEvents)
An array of events that indicate the status of jobs to back up resources to the backup vault.
The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
backupVaultEvents
- An array of events that indicate the status of jobs to back up resources to the backup vault. The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and
RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
BackupVaultEvent
public PutBackupVaultNotificationsRequest withBackupVaultEvents(BackupVaultEvent... backupVaultEvents)
An array of events that indicate the status of jobs to back up resources to the backup vault.
The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
backupVaultEvents
- An array of events that indicate the status of jobs to back up resources to the backup vault. The following events are supported:
BACKUP_JOB_STARTED
, BACKUP_JOB_COMPLETED
,
COPY_JOB_STARTED
, COPY_JOB_SUCCESSFUL
, COPY_JOB_FAILED
,
RESTORE_JOB_STARTED
, RESTORE_JOB_COMPLETED
, and
RECOVERY_POINT_MODIFIED
.
To find failed backup jobs, use BACKUP_JOB_COMPLETED
and filter using event metadata.
Other events in the following list are deprecated.
BackupVaultEvent
public String toString()
toString
in class Object
Object.toString()
public PutBackupVaultNotificationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()