Struct aws_sdk_elasticsearch::model::ebs_options::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for EbsOptions
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn ebs_enabled(self, input: bool) -> Self
pub fn ebs_enabled(self, input: bool) -> Self
Specifies whether EBS-based storage is enabled.
sourcepub fn set_ebs_enabled(self, input: Option<bool>) -> Self
pub fn set_ebs_enabled(self, input: Option<bool>) -> Self
Specifies whether EBS-based storage is enabled.
sourcepub fn volume_type(self, input: VolumeType) -> Self
pub fn volume_type(self, input: VolumeType) -> Self
Specifies the volume type for EBS-based storage.
sourcepub fn set_volume_type(self, input: Option<VolumeType>) -> Self
pub fn set_volume_type(self, input: Option<VolumeType>) -> Self
Specifies the volume type for EBS-based storage.
sourcepub fn volume_size(self, input: i32) -> Self
pub fn volume_size(self, input: i32) -> Self
Integer to specify the size of an EBS volume.
sourcepub fn set_volume_size(self, input: Option<i32>) -> Self
pub fn set_volume_size(self, input: Option<i32>) -> Self
Integer to specify the size of an EBS volume.
sourcepub fn iops(self, input: i32) -> Self
pub fn iops(self, input: i32) -> Self
Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD).
sourcepub fn set_iops(self, input: Option<i32>) -> Self
pub fn set_iops(self, input: Option<i32>) -> Self
Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD).
sourcepub fn throughput(self, input: i32) -> Self
pub fn throughput(self, input: i32) -> Self
Specifies the Throughput for GP3 EBS volume (SSD).
sourcepub fn set_throughput(self, input: Option<i32>) -> Self
pub fn set_throughput(self, input: Option<i32>) -> Self
Specifies the Throughput for GP3 EBS volume (SSD).
sourcepub fn build(self) -> EbsOptions
pub fn build(self) -> EbsOptions
Consumes the builder and constructs a EbsOptions
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more