Struct aws_sdk_lambda::types::builders::ImageConfigBuilder
source · #[non_exhaustive]pub struct ImageConfigBuilder { /* private fields */ }
Expand description
A builder for ImageConfig
.
Implementations§
source§impl ImageConfigBuilder
impl ImageConfigBuilder
sourcepub fn entry_point(self, input: impl Into<String>) -> Self
pub fn entry_point(self, input: impl Into<String>) -> Self
Appends an item to entry_point
.
To override the contents of this collection use set_entry_point
.
Specifies the entry point to their application, which is typically the location of the runtime executable.
sourcepub fn set_entry_point(self, input: Option<Vec<String>>) -> Self
pub fn set_entry_point(self, input: Option<Vec<String>>) -> Self
Specifies the entry point to their application, which is typically the location of the runtime executable.
sourcepub fn get_entry_point(&self) -> &Option<Vec<String>>
pub fn get_entry_point(&self) -> &Option<Vec<String>>
Specifies the entry point to their application, which is typically the location of the runtime executable.
sourcepub fn command(self, input: impl Into<String>) -> Self
pub fn command(self, input: impl Into<String>) -> Self
Appends an item to command
.
To override the contents of this collection use set_command
.
Specifies parameters that you want to pass in with ENTRYPOINT.
sourcepub fn set_command(self, input: Option<Vec<String>>) -> Self
pub fn set_command(self, input: Option<Vec<String>>) -> Self
Specifies parameters that you want to pass in with ENTRYPOINT.
sourcepub fn get_command(&self) -> &Option<Vec<String>>
pub fn get_command(&self) -> &Option<Vec<String>>
Specifies parameters that you want to pass in with ENTRYPOINT.
sourcepub fn working_directory(self, input: impl Into<String>) -> Self
pub fn working_directory(self, input: impl Into<String>) -> Self
Specifies the working directory.
sourcepub fn set_working_directory(self, input: Option<String>) -> Self
pub fn set_working_directory(self, input: Option<String>) -> Self
Specifies the working directory.
sourcepub fn get_working_directory(&self) -> &Option<String>
pub fn get_working_directory(&self) -> &Option<String>
Specifies the working directory.
sourcepub fn build(self) -> ImageConfig
pub fn build(self) -> ImageConfig
Consumes the builder and constructs a ImageConfig
.
Trait Implementations§
source§impl Clone for ImageConfigBuilder
impl Clone for ImageConfigBuilder
source§fn clone(&self) -> ImageConfigBuilder
fn clone(&self) -> ImageConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageConfigBuilder
impl Debug for ImageConfigBuilder
source§impl Default for ImageConfigBuilder
impl Default for ImageConfigBuilder
source§fn default() -> ImageConfigBuilder
fn default() -> ImageConfigBuilder
source§impl PartialEq for ImageConfigBuilder
impl PartialEq for ImageConfigBuilder
source§fn eq(&self, other: &ImageConfigBuilder) -> bool
fn eq(&self, other: &ImageConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.