Struct aws_sdk_opensearch::types::builders::EbsOptionsBuilder
source · #[non_exhaustive]pub struct EbsOptionsBuilder { /* private fields */ }
Expand description
A builder for EbsOptions
.
Implementations§
source§impl EbsOptionsBuilder
impl EbsOptionsBuilder
sourcepub fn ebs_enabled(self, input: bool) -> Self
pub fn ebs_enabled(self, input: bool) -> Self
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
sourcepub fn set_ebs_enabled(self, input: Option<bool>) -> Self
pub fn set_ebs_enabled(self, input: Option<bool>) -> Self
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
sourcepub fn get_ebs_enabled(&self) -> &Option<bool>
pub fn get_ebs_enabled(&self) -> &Option<bool>
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
sourcepub fn volume_type(self, input: VolumeType) -> Self
pub fn volume_type(self, input: VolumeType) -> Self
Specifies the type of EBS volumes attached to data nodes.
sourcepub fn set_volume_type(self, input: Option<VolumeType>) -> Self
pub fn set_volume_type(self, input: Option<VolumeType>) -> Self
Specifies the type of EBS volumes attached to data nodes.
sourcepub fn get_volume_type(&self) -> &Option<VolumeType>
pub fn get_volume_type(&self) -> &Option<VolumeType>
Specifies the type of EBS volumes attached to data nodes.
sourcepub fn volume_size(self, input: i32) -> Self
pub fn volume_size(self, input: i32) -> Self
Specifies the size (in GiB) of EBS volumes attached to data nodes.
sourcepub fn set_volume_size(self, input: Option<i32>) -> Self
pub fn set_volume_size(self, input: Option<i32>) -> Self
Specifies the size (in GiB) of EBS volumes attached to data nodes.
sourcepub fn get_volume_size(&self) -> &Option<i32>
pub fn get_volume_size(&self) -> &Option<i32>
Specifies the size (in GiB) of EBS volumes attached to data nodes.
sourcepub fn iops(self, input: i32) -> Self
pub fn iops(self, input: i32) -> Self
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.
sourcepub fn set_iops(self, input: Option<i32>) -> Self
pub fn set_iops(self, input: Option<i32>) -> Self
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.
sourcepub fn get_iops(&self) -> &Option<i32>
pub fn get_iops(&self) -> &Option<i32>
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.
sourcepub fn throughput(self, input: i32) -> Self
pub fn throughput(self, input: i32) -> Self
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3
volume type.
sourcepub fn set_throughput(self, input: Option<i32>) -> Self
pub fn set_throughput(self, input: Option<i32>) -> Self
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3
volume type.
sourcepub fn get_throughput(&self) -> &Option<i32>
pub fn get_throughput(&self) -> &Option<i32>
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3
volume type.
sourcepub fn build(self) -> EbsOptions
pub fn build(self) -> EbsOptions
Consumes the builder and constructs a EbsOptions
.
Trait Implementations§
source§impl Clone for EbsOptionsBuilder
impl Clone for EbsOptionsBuilder
source§fn clone(&self) -> EbsOptionsBuilder
fn clone(&self) -> EbsOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EbsOptionsBuilder
impl Debug for EbsOptionsBuilder
source§impl Default for EbsOptionsBuilder
impl Default for EbsOptionsBuilder
source§fn default() -> EbsOptionsBuilder
fn default() -> EbsOptionsBuilder
source§impl PartialEq for EbsOptionsBuilder
impl PartialEq for EbsOptionsBuilder
source§fn eq(&self, other: &EbsOptionsBuilder) -> bool
fn eq(&self, other: &EbsOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.