Struct aws_sdk_kafka::types::builders::ProvisionedThroughputBuilder
source · #[non_exhaustive]pub struct ProvisionedThroughputBuilder { /* private fields */ }
Expand description
A builder for ProvisionedThroughput
.
Implementations§
source§impl ProvisionedThroughputBuilder
impl ProvisionedThroughputBuilder
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Provisioned throughput is enabled or not.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Provisioned throughput is enabled or not.
sourcepub fn volume_throughput(self, input: i32) -> Self
pub fn volume_throughput(self, input: i32) -> Self
Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.
sourcepub fn set_volume_throughput(self, input: Option<i32>) -> Self
pub fn set_volume_throughput(self, input: Option<i32>) -> Self
Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.
sourcepub fn get_volume_throughput(&self) -> &Option<i32>
pub fn get_volume_throughput(&self) -> &Option<i32>
Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.
sourcepub fn build(self) -> ProvisionedThroughput
pub fn build(self) -> ProvisionedThroughput
Consumes the builder and constructs a ProvisionedThroughput
.
Trait Implementations§
source§impl Clone for ProvisionedThroughputBuilder
impl Clone for ProvisionedThroughputBuilder
source§fn clone(&self) -> ProvisionedThroughputBuilder
fn clone(&self) -> ProvisionedThroughputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProvisionedThroughputBuilder
impl Debug for ProvisionedThroughputBuilder
source§impl Default for ProvisionedThroughputBuilder
impl Default for ProvisionedThroughputBuilder
source§fn default() -> ProvisionedThroughputBuilder
fn default() -> ProvisionedThroughputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ProvisionedThroughputBuilder
impl PartialEq for ProvisionedThroughputBuilder
source§fn eq(&self, other: &ProvisionedThroughputBuilder) -> bool
fn eq(&self, other: &ProvisionedThroughputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisionedThroughputBuilder
Auto Trait Implementations§
impl Freeze for ProvisionedThroughputBuilder
impl RefUnwindSafe for ProvisionedThroughputBuilder
impl Send for ProvisionedThroughputBuilder
impl Sync for ProvisionedThroughputBuilder
impl Unpin for ProvisionedThroughputBuilder
impl UnwindSafe for ProvisionedThroughputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.