#[non_exhaustive]pub struct LambdaFunctionAssociationsBuilder { /* private fields */ }
Expand description
A builder for LambdaFunctionAssociations
.
Implementations§
source§impl LambdaFunctionAssociationsBuilder
impl LambdaFunctionAssociationsBuilder
sourcepub fn quantity(self, input: i32) -> Self
pub fn quantity(self, input: i32) -> Self
The number of Lambda@Edge function associations for this cache behavior.
This field is required.sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The number of Lambda@Edge function associations for this cache behavior.
sourcepub fn get_quantity(&self) -> &Option<i32>
pub fn get_quantity(&self) -> &Option<i32>
The number of Lambda@Edge function associations for this cache behavior.
sourcepub fn items(self, input: LambdaFunctionAssociation) -> Self
pub fn items(self, input: LambdaFunctionAssociation) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
Optional: A complex type that contains LambdaFunctionAssociation
items for this cache behavior. If Quantity
is 0
, you can omit Items
.
sourcepub fn set_items(self, input: Option<Vec<LambdaFunctionAssociation>>) -> Self
pub fn set_items(self, input: Option<Vec<LambdaFunctionAssociation>>) -> Self
Optional: A complex type that contains LambdaFunctionAssociation
items for this cache behavior. If Quantity
is 0
, you can omit Items
.
sourcepub fn get_items(&self) -> &Option<Vec<LambdaFunctionAssociation>>
pub fn get_items(&self) -> &Option<Vec<LambdaFunctionAssociation>>
Optional: A complex type that contains LambdaFunctionAssociation
items for this cache behavior. If Quantity
is 0
, you can omit Items
.
sourcepub fn build(self) -> Result<LambdaFunctionAssociations, BuildError>
pub fn build(self) -> Result<LambdaFunctionAssociations, BuildError>
Consumes the builder and constructs a LambdaFunctionAssociations
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LambdaFunctionAssociationsBuilder
impl Clone for LambdaFunctionAssociationsBuilder
source§fn clone(&self) -> LambdaFunctionAssociationsBuilder
fn clone(&self) -> LambdaFunctionAssociationsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LambdaFunctionAssociationsBuilder
impl Default for LambdaFunctionAssociationsBuilder
source§fn default() -> LambdaFunctionAssociationsBuilder
fn default() -> LambdaFunctionAssociationsBuilder
source§impl PartialEq for LambdaFunctionAssociationsBuilder
impl PartialEq for LambdaFunctionAssociationsBuilder
source§fn eq(&self, other: &LambdaFunctionAssociationsBuilder) -> bool
fn eq(&self, other: &LambdaFunctionAssociationsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LambdaFunctionAssociationsBuilder
Auto Trait Implementations§
impl Freeze for LambdaFunctionAssociationsBuilder
impl RefUnwindSafe for LambdaFunctionAssociationsBuilder
impl Send for LambdaFunctionAssociationsBuilder
impl Sync for LambdaFunctionAssociationsBuilder
impl Unpin for LambdaFunctionAssociationsBuilder
impl UnwindSafe for LambdaFunctionAssociationsBuilder
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
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>
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>
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 more