Struct aws_sdk_lambda::model::runtime_version_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RuntimeVersionConfig
.
Implementations§
source§impl Builder
impl Builder
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
.