Class CfnDomain.OffPeakWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.OffPeakWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.OffPeakWindowProperty>
- Enclosing interface:
CfnDomain.OffPeakWindowProperty
@Stability(Stable)
public static final class CfnDomain.OffPeakWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.OffPeakWindowProperty>
A builder for
CfnDomain.OffPeakWindowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.windowStartTime(IResolvable windowStartTime) Sets the value ofCfnDomain.OffPeakWindowProperty.getWindowStartTime()windowStartTime(CfnDomain.WindowStartTimeProperty windowStartTime) Sets the value ofCfnDomain.OffPeakWindowProperty.getWindowStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
windowStartTime
@Stability(Stable) public CfnDomain.OffPeakWindowProperty.Builder windowStartTime(IResolvable windowStartTime) Sets the value ofCfnDomain.OffPeakWindowProperty.getWindowStartTime()- Parameters:
windowStartTime- The desired start time for an off-peak maintenance window.- Returns:
this
-
windowStartTime
@Stability(Stable) public CfnDomain.OffPeakWindowProperty.Builder windowStartTime(CfnDomain.WindowStartTimeProperty windowStartTime) Sets the value ofCfnDomain.OffPeakWindowProperty.getWindowStartTime()- Parameters:
windowStartTime- The desired start time for an off-peak maintenance window.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.OffPeakWindowProperty>- Returns:
- a new instance of
CfnDomain.OffPeakWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-