Interface GetBackupVaultNotificationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<GetBackupVaultNotificationsResponse.Builder,,GetBackupVaultNotificationsResponse> SdkBuilder<GetBackupVaultNotificationsResponse.Builder,,GetBackupVaultNotificationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBackupVaultNotificationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionbackupVaultArn(String backupVaultArn) An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.backupVaultEvents(Collection<BackupVaultEvent> backupVaultEvents) An array of events that indicate the status of jobs to back up resources to the backup vault.backupVaultEvents(BackupVaultEvent... backupVaultEvents) An array of events that indicate the status of jobs to back up resources to the backup vault.backupVaultEventsWithStrings(String... backupVaultEvents) An array of events that indicate the status of jobs to back up resources to the backup vault.backupVaultEventsWithStrings(Collection<String> backupVaultEvents) An array of events that indicate the status of jobs to back up resources to the backup vault.backupVaultName(String backupVaultName) The name of a logical container where backups are stored.reportsInS3(Consumer<ReportsInS3Configuration.Builder> reportsInS3) The configuration that Backup uses to deliver file-level error reports for jobs in this local backup vault to an Amazon S3 bucket.reportsInS3(ReportsInS3Configuration reportsInS3) The configuration that Backup uses to deliver file-level error reports for jobs in this local backup vault to an Amazon S3 bucket.snsTopicArn(String snsTopicArn) An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example,arn:aws:sns:us-west-2:111122223333:MyTopic.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultArn
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.- Parameters:
backupVaultArn- An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicArn
An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example,
arn:aws:sns:us-west-2:111122223333:MyTopic.- Parameters:
snsTopicArn- An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example,arn:aws:sns:us-west-2:111122223333:MyTopic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultEventsWithStrings
GetBackupVaultNotificationsResponse.Builder backupVaultEventsWithStrings(Collection<String> backupVaultEvents) An array of events that indicate the status of jobs to back up resources to the backup vault.
- Parameters:
backupVaultEvents- An array of events that indicate the status of jobs to back up resources to the backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultEventsWithStrings
GetBackupVaultNotificationsResponse.Builder backupVaultEventsWithStrings(String... backupVaultEvents) An array of events that indicate the status of jobs to back up resources to the backup vault.
- Parameters:
backupVaultEvents- An array of events that indicate the status of jobs to back up resources to the backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultEvents
GetBackupVaultNotificationsResponse.Builder backupVaultEvents(Collection<BackupVaultEvent> backupVaultEvents) An array of events that indicate the status of jobs to back up resources to the backup vault.
- Parameters:
backupVaultEvents- An array of events that indicate the status of jobs to back up resources to the backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultEvents
GetBackupVaultNotificationsResponse.Builder backupVaultEvents(BackupVaultEvent... backupVaultEvents) An array of events that indicate the status of jobs to back up resources to the backup vault.
- Parameters:
backupVaultEvents- An array of events that indicate the status of jobs to back up resources to the backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportsInS3
The configuration that Backup uses to deliver file-level error reports for jobs in this local backup vault to an Amazon S3 bucket. This value is returned only for local backup vaults that have reports configured.
- Parameters:
reportsInS3- The configuration that Backup uses to deliver file-level error reports for jobs in this local backup vault to an Amazon S3 bucket. This value is returned only for local backup vaults that have reports configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportsInS3
default GetBackupVaultNotificationsResponse.Builder reportsInS3(Consumer<ReportsInS3Configuration.Builder> reportsInS3) The configuration that Backup uses to deliver file-level error reports for jobs in this local backup vault to an Amazon S3 bucket. This value is returned only for local backup vaults that have reports configured.
This is a convenience method that creates an instance of theReportsInS3Configuration.Builderavoiding the need to create one manually viaReportsInS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreportsInS3(ReportsInS3Configuration).- Parameters:
reportsInS3- a consumer that will call methods onReportsInS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-