Struct aws_sdk_elasticsearch::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
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 get_ebs_enabled(&self) -> &Option<bool>
pub fn get_ebs_enabled(&self) -> &Option<bool>
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 get_volume_type(&self) -> &Option<VolumeType>
pub fn get_volume_type(&self) -> &Option<VolumeType>
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 get_volume_size(&self) -> &Option<i32>
pub fn get_volume_size(&self) -> &Option<i32>
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 get_iops(&self) -> &Option<i32>
pub fn get_iops(&self) -> &Option<i32>
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 get_throughput(&self) -> &Option<i32>
pub fn get_throughput(&self) -> &Option<i32>
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§
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 ==
.impl StructuralPartialEq for EbsOptionsBuilder
Auto Trait Implementations§
impl Freeze for EbsOptionsBuilder
impl RefUnwindSafe for EbsOptionsBuilder
impl Send for EbsOptionsBuilder
impl Sync for EbsOptionsBuilder
impl Unpin for EbsOptionsBuilder
impl UnwindSafe for EbsOptionsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more