#[non_exhaustive]pub struct LambdaLinuxProcessParamsBuilder { /* private fields */ }
Expand description
A builder for LambdaLinuxProcessParams
.
Implementations§
source§impl LambdaLinuxProcessParamsBuilder
impl LambdaLinuxProcessParamsBuilder
sourcepub fn isolation_mode(self, input: LambdaIsolationMode) -> Self
pub fn isolation_mode(self, input: LambdaIsolationMode) -> Self
The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.
Default: GreengrassContainer
sourcepub fn set_isolation_mode(self, input: Option<LambdaIsolationMode>) -> Self
pub fn set_isolation_mode(self, input: Option<LambdaIsolationMode>) -> Self
The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.
Default: GreengrassContainer
sourcepub fn get_isolation_mode(&self) -> &Option<LambdaIsolationMode>
pub fn get_isolation_mode(&self) -> &Option<LambdaIsolationMode>
The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.
Default: GreengrassContainer
sourcepub fn container_params(self, input: LambdaContainerParams) -> Self
pub fn container_params(self, input: LambdaContainerParams) -> Self
The parameters for the container in which the Lambda function runs.
sourcepub fn set_container_params(self, input: Option<LambdaContainerParams>) -> Self
pub fn set_container_params(self, input: Option<LambdaContainerParams>) -> Self
The parameters for the container in which the Lambda function runs.
sourcepub fn get_container_params(&self) -> &Option<LambdaContainerParams>
pub fn get_container_params(&self) -> &Option<LambdaContainerParams>
The parameters for the container in which the Lambda function runs.
sourcepub fn build(self) -> LambdaLinuxProcessParams
pub fn build(self) -> LambdaLinuxProcessParams
Consumes the builder and constructs a LambdaLinuxProcessParams
.
Trait Implementations§
source§impl Clone for LambdaLinuxProcessParamsBuilder
impl Clone for LambdaLinuxProcessParamsBuilder
source§fn clone(&self) -> LambdaLinuxProcessParamsBuilder
fn clone(&self) -> LambdaLinuxProcessParamsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LambdaLinuxProcessParamsBuilder
impl Default for LambdaLinuxProcessParamsBuilder
source§fn default() -> LambdaLinuxProcessParamsBuilder
fn default() -> LambdaLinuxProcessParamsBuilder
source§impl PartialEq for LambdaLinuxProcessParamsBuilder
impl PartialEq for LambdaLinuxProcessParamsBuilder
source§fn eq(&self, other: &LambdaLinuxProcessParamsBuilder) -> bool
fn eq(&self, other: &LambdaLinuxProcessParamsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LambdaLinuxProcessParamsBuilder
Auto Trait Implementations§
impl Freeze for LambdaLinuxProcessParamsBuilder
impl RefUnwindSafe for LambdaLinuxProcessParamsBuilder
impl Send for LambdaLinuxProcessParamsBuilder
impl Sync for LambdaLinuxProcessParamsBuilder
impl Unpin for LambdaLinuxProcessParamsBuilder
impl UnwindSafe for LambdaLinuxProcessParamsBuilder
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