Class CfnInstance.AutoSnapshotAddOnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnInstance.AutoSnapshotAddOnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstance.AutoSnapshotAddOnProperty>
- Enclosing interface:
CfnInstance.AutoSnapshotAddOnProperty
@Stability(Stable)
public static final class CfnInstance.AutoSnapshotAddOnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstance.AutoSnapshotAddOnProperty>
A builder for
CfnInstance.AutoSnapshotAddOnProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.snapshotTimeOfDay
(String snapshotTimeOfDay) Sets the value ofCfnInstance.AutoSnapshotAddOnProperty.getSnapshotTimeOfDay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
snapshotTimeOfDay
@Stability(Stable) public CfnInstance.AutoSnapshotAddOnProperty.Builder snapshotTimeOfDay(String snapshotTimeOfDay) Sets the value ofCfnInstance.AutoSnapshotAddOnProperty.getSnapshotTimeOfDay()
- Parameters:
snapshotTimeOfDay
- The daily time when an automatic snapshot will be created. Constraints:- Must be in
HH:00
format, 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstance.AutoSnapshotAddOnProperty>
- Returns:
- a new instance of
CfnInstance.AutoSnapshotAddOnProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-