public static final class CfnDomain.EBSOptionsProperty.Builder
extends java.lang.Object
CfnDomain.EBSOptionsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDomain.EBSOptionsProperty |
build()
Builds the configured instance.
|
CfnDomain.EBSOptionsProperty.Builder |
ebsEnabled(java.lang.Boolean ebsEnabled)
Sets the value of
CfnDomain.EBSOptionsProperty.getEbsEnabled() |
CfnDomain.EBSOptionsProperty.Builder |
ebsEnabled(IResolvable ebsEnabled)
Sets the value of
CfnDomain.EBSOptionsProperty.getEbsEnabled() |
CfnDomain.EBSOptionsProperty.Builder |
iops(java.lang.Number iops)
Sets the value of
CfnDomain.EBSOptionsProperty.getIops() |
CfnDomain.EBSOptionsProperty.Builder |
throughput(java.lang.Number throughput)
Sets the value of
CfnDomain.EBSOptionsProperty.getThroughput() |
CfnDomain.EBSOptionsProperty.Builder |
volumeSize(java.lang.Number volumeSize)
Sets the value of
CfnDomain.EBSOptionsProperty.getVolumeSize() |
CfnDomain.EBSOptionsProperty.Builder |
volumeType(java.lang.String volumeType)
Sets the value of
CfnDomain.EBSOptionsProperty.getVolumeType() |
public CfnDomain.EBSOptionsProperty.Builder ebsEnabled(java.lang.Boolean ebsEnabled)
CfnDomain.EBSOptionsProperty.getEbsEnabled()
ebsEnabled
- Specifies whether Amazon EBS volumes are attached to data nodes in the OpenSearch Service domain.this
public CfnDomain.EBSOptionsProperty.Builder ebsEnabled(IResolvable ebsEnabled)
CfnDomain.EBSOptionsProperty.getEbsEnabled()
ebsEnabled
- Specifies whether Amazon EBS volumes are attached to data nodes in the OpenSearch Service domain.this
public CfnDomain.EBSOptionsProperty.Builder iops(java.lang.Number iops)
CfnDomain.EBSOptionsProperty.getIops()
iops
- The number of I/O operations per second (IOPS) that the volume supports.
This property applies only to the gp3
and provisioned IOPS EBS volume types.this
public CfnDomain.EBSOptionsProperty.Builder throughput(java.lang.Number throughput)
CfnDomain.EBSOptionsProperty.getThroughput()
throughput
- The throughput (in MiB/s) of the EBS volumes attached to data nodes.
Applies only to the gp3
volume type.this
public CfnDomain.EBSOptionsProperty.Builder volumeSize(java.lang.Number volumeSize)
CfnDomain.EBSOptionsProperty.getVolumeSize()
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 .this
public CfnDomain.EBSOptionsProperty.Builder volumeType(java.lang.String volumeType)
CfnDomain.EBSOptionsProperty.getVolumeType()
volumeType
- The EBS volume type to use with the OpenSearch Service domain.
If you choose gp3
, you must also specify values for Iops
and Throughput
. For more information about each type, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances .this
public CfnDomain.EBSOptionsProperty build()
CfnDomain.EBSOptionsProperty
java.lang.NullPointerException
- if any required attribute was not provided