#[non_exhaustive]pub struct InputParallelismUpdateBuilder { /* private fields */ }Expand description
A builder for InputParallelismUpdate.
Implementations§
source§impl InputParallelismUpdateBuilder
impl InputParallelismUpdateBuilder
sourcepub fn count_update(self, input: i32) -> Self
pub fn count_update(self, input: i32) -> Self
The number of in-application streams to create for the specified streaming source.
This field is required.sourcepub fn set_count_update(self, input: Option<i32>) -> Self
pub fn set_count_update(self, input: Option<i32>) -> Self
The number of in-application streams to create for the specified streaming source.
sourcepub fn get_count_update(&self) -> &Option<i32>
pub fn get_count_update(&self) -> &Option<i32>
The number of in-application streams to create for the specified streaming source.
sourcepub fn build(self) -> Result<InputParallelismUpdate, BuildError>
pub fn build(self) -> Result<InputParallelismUpdate, BuildError>
Consumes the builder and constructs a InputParallelismUpdate.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for InputParallelismUpdateBuilder
impl Clone for InputParallelismUpdateBuilder
source§fn clone(&self) -> InputParallelismUpdateBuilder
fn clone(&self) -> InputParallelismUpdateBuilder
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 Default for InputParallelismUpdateBuilder
impl Default for InputParallelismUpdateBuilder
source§fn default() -> InputParallelismUpdateBuilder
fn default() -> InputParallelismUpdateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InputParallelismUpdateBuilder
impl PartialEq for InputParallelismUpdateBuilder
source§fn eq(&self, other: &InputParallelismUpdateBuilder) -> bool
fn eq(&self, other: &InputParallelismUpdateBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InputParallelismUpdateBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InputParallelismUpdateBuilder
impl Send for InputParallelismUpdateBuilder
impl Sync for InputParallelismUpdateBuilder
impl Unpin for InputParallelismUpdateBuilder
impl UnwindSafe for InputParallelismUpdateBuilder
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>
Creates a shared type from an unshared type.