#[non_exhaustive]pub struct DescribeLimitsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeLimitsOutput
.
Implementations§
source§impl DescribeLimitsOutputBuilder
impl DescribeLimitsOutputBuilder
sourcepub fn shard_limit(self, input: i32) -> Self
pub fn shard_limit(self, input: i32) -> Self
The maximum number of shards.
This field is required.sourcepub fn set_shard_limit(self, input: Option<i32>) -> Self
pub fn set_shard_limit(self, input: Option<i32>) -> Self
The maximum number of shards.
sourcepub fn get_shard_limit(&self) -> &Option<i32>
pub fn get_shard_limit(&self) -> &Option<i32>
The maximum number of shards.
sourcepub fn open_shard_count(self, input: i32) -> Self
pub fn open_shard_count(self, input: i32) -> Self
The number of open shards.
This field is required.sourcepub fn set_open_shard_count(self, input: Option<i32>) -> Self
pub fn set_open_shard_count(self, input: Option<i32>) -> Self
The number of open shards.
sourcepub fn get_open_shard_count(&self) -> &Option<i32>
pub fn get_open_shard_count(&self) -> &Option<i32>
The number of open shards.
sourcepub fn on_demand_stream_count(self, input: i32) -> Self
pub fn on_demand_stream_count(self, input: i32) -> Self
Indicates the number of data streams with the on-demand capacity mode.
This field is required.sourcepub fn set_on_demand_stream_count(self, input: Option<i32>) -> Self
pub fn set_on_demand_stream_count(self, input: Option<i32>) -> Self
Indicates the number of data streams with the on-demand capacity mode.
sourcepub fn get_on_demand_stream_count(&self) -> &Option<i32>
pub fn get_on_demand_stream_count(&self) -> &Option<i32>
Indicates the number of data streams with the on-demand capacity mode.
sourcepub fn on_demand_stream_count_limit(self, input: i32) -> Self
pub fn on_demand_stream_count_limit(self, input: i32) -> Self
The maximum number of data streams with the on-demand capacity mode.
This field is required.sourcepub fn set_on_demand_stream_count_limit(self, input: Option<i32>) -> Self
pub fn set_on_demand_stream_count_limit(self, input: Option<i32>) -> Self
The maximum number of data streams with the on-demand capacity mode.
sourcepub fn get_on_demand_stream_count_limit(&self) -> &Option<i32>
pub fn get_on_demand_stream_count_limit(&self) -> &Option<i32>
The maximum number of data streams with the on-demand capacity mode.
sourcepub fn build(self) -> Result<DescribeLimitsOutput, BuildError>
pub fn build(self) -> Result<DescribeLimitsOutput, BuildError>
Consumes the builder and constructs a DescribeLimitsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DescribeLimitsOutputBuilder
impl Clone for DescribeLimitsOutputBuilder
source§fn clone(&self) -> DescribeLimitsOutputBuilder
fn clone(&self) -> DescribeLimitsOutputBuilder
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 DescribeLimitsOutputBuilder
impl Debug for DescribeLimitsOutputBuilder
source§impl Default for DescribeLimitsOutputBuilder
impl Default for DescribeLimitsOutputBuilder
source§fn default() -> DescribeLimitsOutputBuilder
fn default() -> DescribeLimitsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeLimitsOutputBuilder
impl PartialEq for DescribeLimitsOutputBuilder
source§fn eq(&self, other: &DescribeLimitsOutputBuilder) -> bool
fn eq(&self, other: &DescribeLimitsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeLimitsOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeLimitsOutputBuilder
impl RefUnwindSafe for DescribeLimitsOutputBuilder
impl Send for DescribeLimitsOutputBuilder
impl Sync for DescribeLimitsOutputBuilder
impl Unpin for DescribeLimitsOutputBuilder
impl UnwindSafe for DescribeLimitsOutputBuilder
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.