@Stability(value=Stable) public static final class CfnDisk.AddOnProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDisk.AddOnProperty>
CfnDisk.AddOnProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDisk.AddOnProperty.Builder |
addOnType(String addOnType)
Sets the value of
CfnDisk.AddOnProperty.getAddOnType() |
CfnDisk.AddOnProperty.Builder |
autoSnapshotAddOnRequest(CfnDisk.AutoSnapshotAddOnProperty autoSnapshotAddOnRequest)
Sets the value of
CfnDisk.AddOnProperty.getAutoSnapshotAddOnRequest() |
CfnDisk.AddOnProperty.Builder |
autoSnapshotAddOnRequest(IResolvable autoSnapshotAddOnRequest)
Sets the value of
CfnDisk.AddOnProperty.getAutoSnapshotAddOnRequest() |
CfnDisk.AddOnProperty |
build()
Builds the configured instance.
|
CfnDisk.AddOnProperty.Builder |
status(String status)
Sets the value of
CfnDisk.AddOnProperty.getStatus() |
@Stability(value=Stable) public CfnDisk.AddOnProperty.Builder addOnType(String addOnType)
CfnDisk.AddOnProperty.getAddOnType()addOnType - The add-on type (for example, `AutoSnapshot` ). This parameter is required.
AutoSnapshotis the only add-on that can be enabled for a disk.
this@Stability(value=Stable) public CfnDisk.AddOnProperty.Builder autoSnapshotAddOnRequest(CfnDisk.AutoSnapshotAddOnProperty autoSnapshotAddOnRequest)
CfnDisk.AddOnProperty.getAutoSnapshotAddOnRequest()autoSnapshotAddOnRequest - The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.this@Stability(value=Stable) public CfnDisk.AddOnProperty.Builder autoSnapshotAddOnRequest(IResolvable autoSnapshotAddOnRequest)
CfnDisk.AddOnProperty.getAutoSnapshotAddOnRequest()autoSnapshotAddOnRequest - The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.this@Stability(value=Stable) public CfnDisk.AddOnProperty.Builder status(String status)
CfnDisk.AddOnProperty.getStatus()status - The status of the add-on.
Valid Values: Enabled | Disabledthis@Stability(value=Stable) public CfnDisk.AddOnProperty build()
build in interface software.amazon.jsii.Builder<CfnDisk.AddOnProperty>CfnDisk.AddOnPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.