Interface CfnDisk.AddOnProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDisk.AddOnProperty.Jsii$Proxy
- Enclosing class:
CfnDisk
@Stability(Stable)
public static interface CfnDisk.AddOnProperty
extends software.amazon.jsii.JsiiSerializable
AddOn
is a property of the AWS::Lightsail::Disk resource. It describes the add-ons for a disk.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDisk.AddOnProperty
static final class
An implementation forCfnDisk.AddOnProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddOnType
The add-on type (for example,AutoSnapshot
).AutoSnapshot
is the only add-on that can be enabled for a disk.- See Also:
-
getAutoSnapshotAddOnRequest
The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.- See Also:
-
getStatus
The status of the add-on.Valid Values:
Enabled
|Disabled
- See Also:
-
builder
- Returns:
- a
CfnDisk.AddOnProperty.Builder
ofCfnDisk.AddOnProperty
-