Struct aws_sdk_lambda::types::builders::RuntimeVersionConfigBuilder
source · #[non_exhaustive]pub struct RuntimeVersionConfigBuilder { /* private fields */ }
Expand description
A builder for RuntimeVersionConfig
.
Implementations§
source§impl RuntimeVersionConfigBuilder
impl RuntimeVersionConfigBuilder
sourcepub fn runtime_version_arn(self, input: impl Into<String>) -> Self
pub fn runtime_version_arn(self, input: impl Into<String>) -> Self
The ARN of the runtime version you want the function to use.
sourcepub fn set_runtime_version_arn(self, input: Option<String>) -> Self
pub fn set_runtime_version_arn(self, input: Option<String>) -> Self
The ARN of the runtime version you want the function to use.
sourcepub fn get_runtime_version_arn(&self) -> &Option<String>
pub fn get_runtime_version_arn(&self) -> &Option<String>
The ARN of the runtime version you want the function to use.
sourcepub fn error(self, input: RuntimeVersionError) -> Self
pub fn error(self, input: RuntimeVersionError) -> Self
Error response when Lambda is unable to retrieve the runtime version for a function.
sourcepub fn set_error(self, input: Option<RuntimeVersionError>) -> Self
pub fn set_error(self, input: Option<RuntimeVersionError>) -> Self
Error response when Lambda is unable to retrieve the runtime version for a function.
sourcepub fn get_error(&self) -> &Option<RuntimeVersionError>
pub fn get_error(&self) -> &Option<RuntimeVersionError>
Error response when Lambda is unable to retrieve the runtime version for a function.
sourcepub fn build(self) -> RuntimeVersionConfig
pub fn build(self) -> RuntimeVersionConfig
Consumes the builder and constructs a RuntimeVersionConfig
.
Trait Implementations§
source§impl Clone for RuntimeVersionConfigBuilder
impl Clone for RuntimeVersionConfigBuilder
source§fn clone(&self) -> RuntimeVersionConfigBuilder
fn clone(&self) -> RuntimeVersionConfigBuilder
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 RuntimeVersionConfigBuilder
impl Debug for RuntimeVersionConfigBuilder
source§impl Default for RuntimeVersionConfigBuilder
impl Default for RuntimeVersionConfigBuilder
source§fn default() -> RuntimeVersionConfigBuilder
fn default() -> RuntimeVersionConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RuntimeVersionConfigBuilder
impl PartialEq for RuntimeVersionConfigBuilder
source§fn eq(&self, other: &RuntimeVersionConfigBuilder) -> bool
fn eq(&self, other: &RuntimeVersionConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuntimeVersionConfigBuilder
Auto Trait Implementations§
impl Freeze for RuntimeVersionConfigBuilder
impl RefUnwindSafe for RuntimeVersionConfigBuilder
impl Send for RuntimeVersionConfigBuilder
impl Sync for RuntimeVersionConfigBuilder
impl Unpin for RuntimeVersionConfigBuilder
impl UnwindSafe for RuntimeVersionConfigBuilder
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.