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 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 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<ProvisionedThroughputBuilder> for ProvisionedThroughputBuilder
impl PartialEq<ProvisionedThroughputBuilder> 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 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