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 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 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<RuntimeVersionConfigBuilder> for RuntimeVersionConfigBuilder
impl PartialEq<RuntimeVersionConfigBuilder> 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 ==
.