Class CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchservice.CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty>
- Enclosing interface:
CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.getEnabled()Sets the value ofCfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.getEndTime()Sets the value ofCfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
enabled
@Stability(Stable) public CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
endTime
@Stability(Stable) public CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.Builder endTime(String endTime) Sets the value ofCfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.getEndTime()- Parameters:
endTime- the value to be set.- Returns:
this
-
startTime
@Stability(Stable) public CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.Builder startTime(String startTime) Sets the value ofCfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty.getStartTime()- Parameters:
startTime- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.AutomatedSnapshotPauseOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-