@Stability(value=Experimental) public static final class BackupProps.Builder extends Object implements software.amazon.jsii.Builder<BackupProps>
BackupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BackupProps |
build()
Builds the configured instance.
|
BackupProps.Builder |
preferredWindow(String preferredWindow)
Sets the value of
BackupProps.getPreferredWindow() |
BackupProps.Builder |
retention(Duration retention)
Sets the value of
BackupProps.getRetention() |
@Stability(value=Experimental) public BackupProps.Builder retention(Duration retention)
BackupProps.getRetention()retention - How many days to retain the backup. This parameter is required.this@Stability(value=Experimental) public BackupProps.Builder preferredWindow(String preferredWindow)
BackupProps.getPreferredWindow()preferredWindow - A daily time range in 24-hours UTC format in which backups preferably execute.
Must be at least 30 minutes long.
Example: '01:00-02:00'
this@Stability(value=Experimental) public BackupProps build()
build in interface software.amazon.jsii.Builder<BackupProps>BackupPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.