Class CfnDomain.ColdStorageOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.CfnDomain.ColdStorageOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.ColdStorageOptionsProperty>
- Enclosing interface:
CfnDomain.ColdStorageOptionsProperty
@Stability(Stable)
public static final class CfnDomain.ColdStorageOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.ColdStorageOptionsProperty>
A builder for
CfnDomain.ColdStorageOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomain.ColdStorageOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomain.ColdStorageOptionsProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnDomain.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
Sets the value ofCfnDomain.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<CfnDomain.ColdStorageOptionsProperty>- Returns:
- a new instance of
CfnDomain.ColdStorageOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-