Class CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty>
- Enclosing interface:
CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty
@Stability(Stable)
public static final class CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackupVaultEvents
(List<String> backupVaultEvents) build()
Builds the configured instance.snsTopicArn
(String snsTopicArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backupVaultEvents
@Stability(Stable) public CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty.Builder backupVaultEvents(List<String> backupVaultEvents) Sets the value ofCfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty.getBackupVaultEvents()
- Parameters:
backupVaultEvents
- An array of events that indicate the status of jobs to back up resources to the backup vault. This parameter is required.- Returns:
this
-
snsTopicArn
@Stability(Stable) public CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty.Builder snsTopicArn(String snsTopicArn) - Parameters:
snsTopicArn
- The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events;. This parameter is required. for example,arn:aws:sns:us-west-2:111122223333:MyVaultTopic
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty>
- Returns:
- a new instance of
CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-