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 ==
.impl StructuralPartialEq for ContainerConfigBuilder
Auto Trait Implementations§
impl Freeze for ContainerConfigBuilder
impl RefUnwindSafe for ContainerConfigBuilder
impl Send for ContainerConfigBuilder
impl Sync for ContainerConfigBuilder
impl Unpin for ContainerConfigBuilder
impl UnwindSafe for ContainerConfigBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more