Class CfnDomain.SoftwareUpdateOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.SoftwareUpdateOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.SoftwareUpdateOptionsProperty>
- Enclosing interface:
CfnDomain.SoftwareUpdateOptionsProperty
@Stability(Stable)
public static final class CfnDomain.SoftwareUpdateOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.SoftwareUpdateOptionsProperty>
A builder for
CfnDomain.SoftwareUpdateOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoSoftwareUpdateEnabled
(Boolean autoSoftwareUpdateEnabled) Sets the value ofCfnDomain.SoftwareUpdateOptionsProperty.getAutoSoftwareUpdateEnabled()
autoSoftwareUpdateEnabled
(IResolvable autoSoftwareUpdateEnabled) Sets the value ofCfnDomain.SoftwareUpdateOptionsProperty.getAutoSoftwareUpdateEnabled()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoSoftwareUpdateEnabled
@Stability(Stable) public CfnDomain.SoftwareUpdateOptionsProperty.Builder autoSoftwareUpdateEnabled(Boolean autoSoftwareUpdateEnabled) Sets the value ofCfnDomain.SoftwareUpdateOptionsProperty.getAutoSoftwareUpdateEnabled()
- Parameters:
autoSoftwareUpdateEnabled
- Specifies whether automatic service software updates are enabled for the domain.- Returns:
this
-
autoSoftwareUpdateEnabled
@Stability(Stable) public CfnDomain.SoftwareUpdateOptionsProperty.Builder autoSoftwareUpdateEnabled(IResolvable autoSoftwareUpdateEnabled) Sets the value ofCfnDomain.SoftwareUpdateOptionsProperty.getAutoSoftwareUpdateEnabled()
- Parameters:
autoSoftwareUpdateEnabled
- Specifies whether automatic service software updates are enabled for the domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.SoftwareUpdateOptionsProperty>
- Returns:
- a new instance of
CfnDomain.SoftwareUpdateOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-