Struct aws_sdk_ecs::types::builders::VolumeFromBuilder
source · #[non_exhaustive]pub struct VolumeFromBuilder { /* private fields */ }Expand description
A builder for VolumeFrom.
Implementations§
source§impl VolumeFromBuilder
impl VolumeFromBuilder
sourcepub fn source_container(self, input: impl Into<String>) -> Self
pub fn source_container(self, input: impl Into<String>) -> Self
The name of another container within the same task definition to mount volumes from.
sourcepub fn set_source_container(self, input: Option<String>) -> Self
pub fn set_source_container(self, input: Option<String>) -> Self
The name of another container within the same task definition to mount volumes from.
sourcepub fn get_source_container(&self) -> &Option<String>
pub fn get_source_container(&self) -> &Option<String>
The name of another container within the same task definition to mount volumes from.
sourcepub fn read_only(self, input: bool) -> Self
pub fn read_only(self, input: bool) -> Self
If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false.
sourcepub fn set_read_only(self, input: Option<bool>) -> Self
pub fn set_read_only(self, input: Option<bool>) -> Self
If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false.
sourcepub fn get_read_only(&self) -> &Option<bool>
pub fn get_read_only(&self) -> &Option<bool>
If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false.
sourcepub fn build(self) -> VolumeFrom
pub fn build(self) -> VolumeFrom
Consumes the builder and constructs a VolumeFrom.
Trait Implementations§
source§impl Clone for VolumeFromBuilder
impl Clone for VolumeFromBuilder
source§fn clone(&self) -> VolumeFromBuilder
fn clone(&self) -> VolumeFromBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VolumeFromBuilder
impl Debug for VolumeFromBuilder
source§impl Default for VolumeFromBuilder
impl Default for VolumeFromBuilder
source§fn default() -> VolumeFromBuilder
fn default() -> VolumeFromBuilder
source§impl PartialEq for VolumeFromBuilder
impl PartialEq for VolumeFromBuilder
impl StructuralPartialEq for VolumeFromBuilder
Auto Trait Implementations§
impl Freeze for VolumeFromBuilder
impl RefUnwindSafe for VolumeFromBuilder
impl Send for VolumeFromBuilder
impl Sync for VolumeFromBuilder
impl Unpin for VolumeFromBuilder
impl UnwindSafe for VolumeFromBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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