Interface AwsBackupBackupVaultDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsBackupBackupVaultDetails.Builder,
,AwsBackupBackupVaultDetails> SdkBuilder<AwsBackupBackupVaultDetails.Builder,
,AwsBackupBackupVaultDetails> SdkPojo
- Enclosing class:
AwsBackupBackupVaultDetails
-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicy
(String accessPolicy) A resource-based policy that is used to manage access permissions on the target backup vault.backupVaultArn
(String backupVaultArn) An Amazon Resource Name (ARN) that uniquely identifies a backup vault.backupVaultName
(String backupVaultName) The name of a logical container where backups are stored.encryptionKeyArn
(String encryptionKeyArn) The unique ARN associated with the server-side encryption key.notifications
(Consumer<AwsBackupBackupVaultNotificationsDetails.Builder> notifications) The Amazon SNS event notifications for the specified backup vault.notifications
(AwsBackupBackupVaultNotificationsDetails notifications) The Amazon SNS event notifications for the specified backup vault.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
backupVaultArn
An Amazon Resource Name (ARN) that uniquely identifies a backup vault.
- Parameters:
backupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultName
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- Parameters:
backupVaultName
- The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
The unique ARN associated with the server-side encryption key. You can specify a key to encrypt your backups from services that support full Backup management. If you do not specify a key, Backup creates an KMS key for you by default.
- Parameters:
encryptionKeyArn
- The unique ARN associated with the server-side encryption key. You can specify a key to encrypt your backups from services that support full Backup management. If you do not specify a key, Backup creates an KMS key for you by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
AwsBackupBackupVaultDetails.Builder notifications(AwsBackupBackupVaultNotificationsDetails notifications) The Amazon SNS event notifications for the specified backup vault.
- Parameters:
notifications
- The Amazon SNS event notifications for the specified backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
default AwsBackupBackupVaultDetails.Builder notifications(Consumer<AwsBackupBackupVaultNotificationsDetails.Builder> notifications) The Amazon SNS event notifications for the specified backup vault.
This is a convenience method that creates an instance of theAwsBackupBackupVaultNotificationsDetails.Builder
avoiding the need to create one manually viaAwsBackupBackupVaultNotificationsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotifications(AwsBackupBackupVaultNotificationsDetails)
.- Parameters:
notifications
- a consumer that will call methods onAwsBackupBackupVaultNotificationsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessPolicy
A resource-based policy that is used to manage access permissions on the target backup vault.
- Parameters:
accessPolicy
- A resource-based policy that is used to manage access permissions on the target backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-