@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EBSOptions extends Object implements Serializable, Cloneable, StructuredPojo
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
Constructor and Description |
---|
EBSOptions() |
Modifier and Type | Method and Description |
---|---|
EBSOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEBSEnabled()
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
|
Integer |
getIops()
Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes.
|
Integer |
getThroughput()
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes.
|
Integer |
getVolumeSize()
Specifies the size (in GiB) of EBS volumes attached to data nodes.
|
String |
getVolumeType()
Specifies the type of EBS volumes attached to data nodes.
|
int |
hashCode() |
Boolean |
isEBSEnabled()
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEBSEnabled(Boolean eBSEnabled)
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
|
void |
setIops(Integer iops)
Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes.
|
void |
setThroughput(Integer throughput)
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes.
|
void |
setVolumeSize(Integer volumeSize)
Specifies the size (in GiB) of EBS volumes attached to data nodes.
|
void |
setVolumeType(String volumeType)
Specifies the type of EBS volumes attached to data nodes.
|
String |
toString()
Returns a string representation of this object.
|
EBSOptions |
withEBSEnabled(Boolean eBSEnabled)
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
|
EBSOptions |
withIops(Integer iops)
Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes.
|
EBSOptions |
withThroughput(Integer throughput)
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes.
|
EBSOptions |
withVolumeSize(Integer volumeSize)
Specifies the size (in GiB) of EBS volumes attached to data nodes.
|
EBSOptions |
withVolumeType(String volumeType)
Specifies the type of EBS volumes attached to data nodes.
|
EBSOptions |
withVolumeType(VolumeType volumeType)
Specifies the type of EBS volumes attached to data nodes.
|
public void setEBSEnabled(Boolean eBSEnabled)
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
eBSEnabled
- Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.public Boolean getEBSEnabled()
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
public EBSOptions withEBSEnabled(Boolean eBSEnabled)
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
eBSEnabled
- Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.public Boolean isEBSEnabled()
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
public void setVolumeType(String volumeType)
Specifies the type of EBS volumes attached to data nodes.
volumeType
- Specifies the type of EBS volumes attached to data nodes.VolumeType
public String getVolumeType()
Specifies the type of EBS volumes attached to data nodes.
VolumeType
public EBSOptions withVolumeType(String volumeType)
Specifies the type of EBS volumes attached to data nodes.
volumeType
- Specifies the type of EBS volumes attached to data nodes.VolumeType
public EBSOptions withVolumeType(VolumeType volumeType)
Specifies the type of EBS volumes attached to data nodes.
volumeType
- Specifies the type of EBS volumes attached to data nodes.VolumeType
public void setVolumeSize(Integer volumeSize)
Specifies the size (in GiB) of EBS volumes attached to data nodes.
volumeSize
- Specifies the size (in GiB) of EBS volumes attached to data nodes.public Integer getVolumeSize()
Specifies the size (in GiB) of EBS volumes attached to data nodes.
public EBSOptions withVolumeSize(Integer volumeSize)
Specifies the size (in GiB) of EBS volumes attached to data nodes.
volumeSize
- Specifies the size (in GiB) of EBS volumes attached to data nodes.public void setIops(Integer iops)
Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for
the gp3
and provisioned IOPS EBS volume types.
iops
- Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable
only for the gp3
and provisioned IOPS EBS volume types.public Integer getIops()
Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for
the gp3
and provisioned IOPS EBS volume types.
gp3
and provisioned IOPS EBS volume types.public EBSOptions withIops(Integer iops)
Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for
the gp3
and provisioned IOPS EBS volume types.
iops
- Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable
only for the gp3
and provisioned IOPS EBS volume types.public void setThroughput(Integer throughput)
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the
gp3
volume type.
throughput
- Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the
gp3
volume type.public Integer getThroughput()
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the
gp3
volume type.
gp3
volume type.public EBSOptions withThroughput(Integer throughput)
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the
gp3
volume type.
throughput
- Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the
gp3
volume type.public String toString()
toString
in class Object
Object.toString()
public EBSOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.