Class CfnDomainPropsMixin.EBSOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticsearch.CfnDomainPropsMixin.EBSOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.EBSOptionsProperty>
- Enclosing interface:
CfnDomainPropsMixin.EBSOptionsProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.EBSOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.EBSOptionsProperty>
A builder for
CfnDomainPropsMixin.EBSOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ebsEnabled(Boolean ebsEnabled) Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getEbsEnabled()ebsEnabled(IResolvable ebsEnabled) Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getEbsEnabled()Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getIops()volumeSize(Number volumeSize) Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getVolumeSize()volumeType(String volumeType) Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getVolumeType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ebsEnabled
@Stability(Stable) public CfnDomainPropsMixin.EBSOptionsProperty.Builder ebsEnabled(Boolean ebsEnabled) Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getEbsEnabled()- Parameters:
ebsEnabled- Specifies whether Amazon EBS volumes are attached to data nodes in the OpenSearch Service domain.- Returns:
this
-
ebsEnabled
@Stability(Stable) public CfnDomainPropsMixin.EBSOptionsProperty.Builder ebsEnabled(IResolvable ebsEnabled) Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getEbsEnabled()- Parameters:
ebsEnabled- Specifies whether Amazon EBS volumes are attached to data nodes in the OpenSearch Service domain.- Returns:
this
-
iops
Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getIops()- Parameters:
iops- The number of I/O operations per second (IOPS) that the volume supports. This property applies only to provisioned IOPS EBS volume types.- Returns:
this
-
volumeSize
@Stability(Stable) public CfnDomainPropsMixin.EBSOptionsProperty.Builder volumeSize(Number volumeSize) Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getVolumeSize()- Parameters:
volumeSize- The size (in GiB) of the EBS volume for each data node. The minimum and maximum size of an EBS volume depends on the EBS volume type and the instance type to which it is attached. For more information, see EBS volume size limits in the Amazon OpenSearch Service Developer Guide .- Returns:
this
-
volumeType
@Stability(Stable) public CfnDomainPropsMixin.EBSOptionsProperty.Builder volumeType(String volumeType) Sets the value ofCfnDomainPropsMixin.EBSOptionsProperty.getVolumeType()- Parameters:
volumeType- The EBS volume type to use with the OpenSearch Service domain, such as standard, gp2, or io1. For more information about each type, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.EBSOptionsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.EBSOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-