Struct aws_sdk_sagemaker::types::builders::ContainerConfigBuilder
source · #[non_exhaustive]pub struct ContainerConfigBuilder { /* private fields */ }Expand description
A builder for ContainerConfig.
Implementations§
source§impl ContainerConfigBuilder
impl ContainerConfigBuilder
sourcepub fn container_arguments(self, input: impl Into<String>) -> Self
pub fn container_arguments(self, input: impl Into<String>) -> Self
Appends an item to container_arguments.
To override the contents of this collection use set_container_arguments.
The arguments for the container when you're running the application.
sourcepub fn set_container_arguments(self, input: Option<Vec<String>>) -> Self
pub fn set_container_arguments(self, input: Option<Vec<String>>) -> Self
The arguments for the container when you're running the application.
sourcepub fn get_container_arguments(&self) -> &Option<Vec<String>>
pub fn get_container_arguments(&self) -> &Option<Vec<String>>
The arguments for the container when you're running the application.
sourcepub fn container_entrypoint(self, input: impl Into<String>) -> Self
pub fn container_entrypoint(self, input: impl Into<String>) -> Self
Appends an item to container_entrypoint.
To override the contents of this collection use set_container_entrypoint.
The entrypoint used to run the application in the container.
sourcepub fn set_container_entrypoint(self, input: Option<Vec<String>>) -> Self
pub fn set_container_entrypoint(self, input: Option<Vec<String>>) -> Self
The entrypoint used to run the application in the container.
sourcepub fn get_container_entrypoint(&self) -> &Option<Vec<String>>
pub fn get_container_entrypoint(&self) -> &Option<Vec<String>>
The entrypoint used to run the application in the container.
sourcepub fn container_environment_variables(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn container_environment_variables( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to container_environment_variables.
To override the contents of this collection use set_container_environment_variables.
The environment variables to set in the container
sourcepub fn set_container_environment_variables(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_container_environment_variables( self, input: Option<HashMap<String, String>> ) -> Self
The environment variables to set in the container
sourcepub fn get_container_environment_variables(
&self
) -> &Option<HashMap<String, String>>
pub fn get_container_environment_variables( &self ) -> &Option<HashMap<String, String>>
The environment variables to set in the container
sourcepub fn build(self) -> ContainerConfig
pub fn build(self) -> ContainerConfig
Consumes the builder and constructs a ContainerConfig.
Trait Implementations§
source§impl Clone for ContainerConfigBuilder
impl Clone for ContainerConfigBuilder
source§fn clone(&self) -> ContainerConfigBuilder
fn clone(&self) -> ContainerConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ContainerConfigBuilder
impl Debug for ContainerConfigBuilder
source§impl Default for ContainerConfigBuilder
impl Default for ContainerConfigBuilder
source§fn default() -> ContainerConfigBuilder
fn default() -> ContainerConfigBuilder
source§impl PartialEq for ContainerConfigBuilder
impl PartialEq for ContainerConfigBuilder
source§fn eq(&self, other: &ContainerConfigBuilder) -> bool
fn eq(&self, other: &ContainerConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.