Class CfnDomainPropsMixin.ColdStorageOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticsearch.CfnDomainPropsMixin.ColdStorageOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.ColdStorageOptionsProperty>
- Enclosing interface:
CfnDomainPropsMixin.ColdStorageOptionsProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.ColdStorageOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.ColdStorageOptionsProperty>
A builder for
CfnDomainPropsMixin.ColdStorageOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomainPropsMixin.ColdStorageOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomainPropsMixin.ColdStorageOptionsProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDomainPropsMixin.ColdStorageOptionsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDomainPropsMixin.ColdStorageOptionsProperty.getEnabled()- Parameters:
enabled- Whether to enable or disable cold storage on the domain. You must enable UltraWarm storage in order to enable cold storage.- Returns:
this
-
enabled
@Stability(Stable) public CfnDomainPropsMixin.ColdStorageOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDomainPropsMixin.ColdStorageOptionsProperty.getEnabled()- Parameters:
enabled- Whether to enable or disable cold storage on the domain. You must enable UltraWarm storage in order to enable cold storage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.ColdStorageOptionsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.ColdStorageOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-