Struct aws_sdk_lambda::types::builders::ScalingConfigBuilder   
source · #[non_exhaustive]pub struct ScalingConfigBuilder { /* private fields */ }Expand description
A builder for ScalingConfig.
Implementations§
source§impl ScalingConfigBuilder
 
impl ScalingConfigBuilder
sourcepub fn maximum_concurrency(self, input: i32) -> Self
 
pub fn maximum_concurrency(self, input: i32) -> Self
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
sourcepub fn set_maximum_concurrency(self, input: Option<i32>) -> Self
 
pub fn set_maximum_concurrency(self, input: Option<i32>) -> Self
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
sourcepub fn get_maximum_concurrency(&self) -> &Option<i32>
 
pub fn get_maximum_concurrency(&self) -> &Option<i32>
Limits the number of concurrent instances that the Amazon SQS event source can invoke.
sourcepub fn build(self) -> ScalingConfig
 
pub fn build(self) -> ScalingConfig
Consumes the builder and constructs a ScalingConfig.
Trait Implementations§
source§impl Clone for ScalingConfigBuilder
 
impl Clone for ScalingConfigBuilder
source§fn clone(&self) -> ScalingConfigBuilder
 
fn clone(&self) -> ScalingConfigBuilder
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 ScalingConfigBuilder
 
impl Debug for ScalingConfigBuilder
source§impl Default for ScalingConfigBuilder
 
impl Default for ScalingConfigBuilder
source§fn default() -> ScalingConfigBuilder
 
fn default() -> ScalingConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScalingConfigBuilder
 
impl PartialEq for ScalingConfigBuilder
impl StructuralPartialEq for ScalingConfigBuilder
Auto Trait Implementations§
impl Freeze for ScalingConfigBuilder
impl RefUnwindSafe for ScalingConfigBuilder
impl Send for ScalingConfigBuilder
impl Sync for ScalingConfigBuilder
impl Unpin for ScalingConfigBuilder
impl UnwindSafe for ScalingConfigBuilder
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.