Class CfnBackupProps.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnBackupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupProps>
- Enclosing interface:
CfnBackupProps
@Stability(Stable)
public static final class CfnBackupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupProps>
A builder for
CfnBackupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackupName(String backupName) Sets the value ofCfnBackupProps.getBackupName()build()Builds the configured instance.Sets the value ofCfnBackupProps.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backupName
Sets the value ofCfnBackupProps.getBackupName()- Parameters:
backupName- The name for the backup. This parameter is required.- Returns:
this
-
tableName
Sets the value ofCfnBackupProps.getTableName()- Parameters:
tableName- The name of the table to back up. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBackupProps>- Returns:
- a new instance of
CfnBackupProps - Throws:
NullPointerException- if any required attribute was not provided
-