Class CfnDomain.SnapshotOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.CfnDomain.SnapshotOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.SnapshotOptionsProperty>
- Enclosing interface:
- CfnDomain.SnapshotOptionsProperty
@Stability(Stable)
public static final class CfnDomain.SnapshotOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.SnapshotOptionsProperty>
A builder for
CfnDomain.SnapshotOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautomatedSnapshotStartHour
(Number automatedSnapshotStartHour) Sets the value ofCfnDomain.SnapshotOptionsProperty.getAutomatedSnapshotStartHour()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
automatedSnapshotStartHour
@Stability(Stable) public CfnDomain.SnapshotOptionsProperty.Builder automatedSnapshotStartHour(Number automatedSnapshotStartHour) Sets the value ofCfnDomain.SnapshotOptionsProperty.getAutomatedSnapshotStartHour()
- Parameters:
automatedSnapshotStartHour
- The hour in UTC during which the service takes an automated daily snapshot of the indices in the OpenSearch Service domain. For example, if you specify 0, OpenSearch Service takes an automated snapshot everyday between midnight and 1 am. You can specify a value between 0 and 23.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.SnapshotOptionsProperty>
- Returns:
- a new instance of
CfnDomain.SnapshotOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-