Class CfnDomainPropsMixin.OffPeakWindowOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchservice.CfnDomainPropsMixin.OffPeakWindowOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.OffPeakWindowOptionsProperty>
- Enclosing interface:
CfnDomainPropsMixin.OffPeakWindowOptionsProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.OffPeakWindowOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.OffPeakWindowOptionsProperty>
A builder for
CfnDomainPropsMixin.OffPeakWindowOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomainPropsMixin.OffPeakWindowOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomainPropsMixin.OffPeakWindowOptionsProperty.getEnabled()offPeakWindow(CfnDomainPropsMixin.OffPeakWindowProperty offPeakWindow) Sets the value ofCfnDomainPropsMixin.OffPeakWindowOptionsProperty.getOffPeakWindow()offPeakWindow(IResolvable offPeakWindow) Sets the value ofCfnDomainPropsMixin.OffPeakWindowOptionsProperty.getOffPeakWindow()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDomainPropsMixin.OffPeakWindowOptionsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDomainPropsMixin.OffPeakWindowOptionsProperty.getEnabled()- Parameters:
enabled- Specifies whether off-peak window settings are enabled for the domain.- Returns:
this
-
enabled
@Stability(Stable) public CfnDomainPropsMixin.OffPeakWindowOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDomainPropsMixin.OffPeakWindowOptionsProperty.getEnabled()- Parameters:
enabled- Specifies whether off-peak window settings are enabled for the domain.- Returns:
this
-
offPeakWindow
@Stability(Stable) public CfnDomainPropsMixin.OffPeakWindowOptionsProperty.Builder offPeakWindow(IResolvable offPeakWindow) Sets the value ofCfnDomainPropsMixin.OffPeakWindowOptionsProperty.getOffPeakWindow()- Parameters:
offPeakWindow- Off-peak window settings for the domain.- Returns:
this
-
offPeakWindow
@Stability(Stable) public CfnDomainPropsMixin.OffPeakWindowOptionsProperty.Builder offPeakWindow(CfnDomainPropsMixin.OffPeakWindowProperty offPeakWindow) Sets the value ofCfnDomainPropsMixin.OffPeakWindowOptionsProperty.getOffPeakWindow()- Parameters:
offPeakWindow- Off-peak window settings for the domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.OffPeakWindowOptionsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.OffPeakWindowOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-