#[non_exhaustive]pub struct AwsEcsContainerDetailsBuilder { /* private fields */ }Expand description
A builder for AwsEcsContainerDetails.
Implementations§
source§impl AwsEcsContainerDetailsBuilder
impl AwsEcsContainerDetailsBuilder
sourcepub fn mount_points(self, input: AwsMountPoint) -> Self
pub fn mount_points(self, input: AwsMountPoint) -> Self
Appends an item to mount_points.
To override the contents of this collection use set_mount_points.
The mount points for data volumes in your container.
sourcepub fn set_mount_points(self, input: Option<Vec<AwsMountPoint>>) -> Self
pub fn set_mount_points(self, input: Option<Vec<AwsMountPoint>>) -> Self
The mount points for data volumes in your container.
sourcepub fn get_mount_points(&self) -> &Option<Vec<AwsMountPoint>>
pub fn get_mount_points(&self) -> &Option<Vec<AwsMountPoint>>
The mount points for data volumes in your container.
sourcepub fn privileged(self, input: bool) -> Self
pub fn privileged(self, input: bool) -> Self
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
sourcepub fn set_privileged(self, input: Option<bool>) -> Self
pub fn set_privileged(self, input: Option<bool>) -> Self
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
sourcepub fn get_privileged(&self) -> &Option<bool>
pub fn get_privileged(&self) -> &Option<bool>
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
sourcepub fn build(self) -> AwsEcsContainerDetails
pub fn build(self) -> AwsEcsContainerDetails
Consumes the builder and constructs a AwsEcsContainerDetails.
Trait Implementations§
source§impl Clone for AwsEcsContainerDetailsBuilder
impl Clone for AwsEcsContainerDetailsBuilder
source§fn clone(&self) -> AwsEcsContainerDetailsBuilder
fn clone(&self) -> AwsEcsContainerDetailsBuilder
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 Default for AwsEcsContainerDetailsBuilder
impl Default for AwsEcsContainerDetailsBuilder
source§fn default() -> AwsEcsContainerDetailsBuilder
fn default() -> AwsEcsContainerDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsEcsContainerDetailsBuilder
impl PartialEq for AwsEcsContainerDetailsBuilder
source§fn eq(&self, other: &AwsEcsContainerDetailsBuilder) -> bool
fn eq(&self, other: &AwsEcsContainerDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsEcsContainerDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEcsContainerDetailsBuilder
impl RefUnwindSafe for AwsEcsContainerDetailsBuilder
impl Send for AwsEcsContainerDetailsBuilder
impl Sync for AwsEcsContainerDetailsBuilder
impl Unpin for AwsEcsContainerDetailsBuilder
impl UnwindSafe for AwsEcsContainerDetailsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.