@Stability(value=Stable)
public static interface CfnDisk.AddOnProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lightsail.*;
AddOnProperty addOnProperty = AddOnProperty.builder()
.addOnType("addOnType")
// the properties below are optional
.autoSnapshotAddOnRequest(AutoSnapshotAddOnProperty.builder()
.snapshotTimeOfDay("snapshotTimeOfDay")
.build())
.status("status")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDisk.AddOnProperty.Builder
A builder for
CfnDisk.AddOnProperty |
static class |
CfnDisk.AddOnProperty.Jsii$Proxy
An implementation for
CfnDisk.AddOnProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDisk.AddOnProperty.Builder |
builder() |
String |
getAddOnType()
The add-on type (for example, `AutoSnapshot` ).
|
default Object |
getAutoSnapshotAddOnRequest()
The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
|
default String |
getStatus()
The status of the add-on.
|
@Stability(value=Stable) @NotNull String getAddOnType()
AutoSnapshotis the only add-on that can be enabled for a disk.
@Stability(value=Stable) @Nullable default Object getAutoSnapshotAddOnRequest()
@Stability(value=Stable) @Nullable default String getStatus()
Valid Values: Enabled | Disabled
@Stability(value=Stable) static CfnDisk.AddOnProperty.Builder builder()
CfnDisk.AddOnProperty.Builder of CfnDisk.AddOnPropertyCopyright © 2022. All rights reserved.