Class CfnDisk.AutoSnapshotAddOnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnDisk.AutoSnapshotAddOnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDisk.AutoSnapshotAddOnProperty>
- Enclosing interface:
CfnDisk.AutoSnapshotAddOnProperty
@Stability(Stable)
public static final class CfnDisk.AutoSnapshotAddOnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDisk.AutoSnapshotAddOnProperty>
A builder for
CfnDisk.AutoSnapshotAddOnProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.snapshotTimeOfDay(String snapshotTimeOfDay) Sets the value ofCfnDisk.AutoSnapshotAddOnProperty.getSnapshotTimeOfDay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
snapshotTimeOfDay
@Stability(Stable) public CfnDisk.AutoSnapshotAddOnProperty.Builder snapshotTimeOfDay(String snapshotTimeOfDay) Sets the value ofCfnDisk.AutoSnapshotAddOnProperty.getSnapshotTimeOfDay()- Parameters:
snapshotTimeOfDay- The daily time when an automatic snapshot will be created. Constraints:- Must be in
HH:00format, and in an hourly increment. - Specified in Coordinated Universal Time (UTC).
- The snapshot will be automatically created between the time specified and up to 45 minutes after.
- Must be in
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDisk.AutoSnapshotAddOnProperty>- Returns:
- a new instance of
CfnDisk.AutoSnapshotAddOnProperty - Throws:
NullPointerException- if any required attribute was not provided
-