Interface CfnDisk.AddOnProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnDisk.AddOnProperty extends
AddOn is a property of the AWS::Lightsail::Disk resource. It describes the add-ons for a disk.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 AddOnProperty addOnProperty = AddOnProperty.builder()
         // the properties below are optional
  • Method Details

    • getAddOnType

      @Stability(Stable) @NotNull String getAddOnType()
      The add-on type (for example, AutoSnapshot ).

      AutoSnapshot is the only add-on that can be enabled for a disk.

    • getAutoSnapshotAddOnRequest

      @Stability(Stable) @Nullable default Object getAutoSnapshotAddOnRequest()
      The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      The status of the add-on.

      Valid Values: Enabled | Disabled

    • builder

      @Stability(Stable) static CfnDisk.AddOnProperty.Builder builder()
      a CfnDisk.AddOnProperty.Builder of CfnDisk.AddOnProperty