#[non_exhaustive]pub struct AwsEcsTaskVolumeDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEcsTaskVolumeDetails
.
Implementations§
source§impl AwsEcsTaskVolumeDetailsBuilder
impl AwsEcsTaskVolumeDetailsBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the sourceVolume
parameter of container definition mountPoints
.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the sourceVolume
parameter of container definition mountPoints
.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the sourceVolume
parameter of container definition mountPoints
.
sourcepub fn host(self, input: AwsEcsTaskVolumeHostDetails) -> Self
pub fn host(self, input: AwsEcsTaskVolumeHostDetails) -> Self
This parameter is specified when you use bind mount host volumes. The contents of the host
parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
sourcepub fn set_host(self, input: Option<AwsEcsTaskVolumeHostDetails>) -> Self
pub fn set_host(self, input: Option<AwsEcsTaskVolumeHostDetails>) -> Self
This parameter is specified when you use bind mount host volumes. The contents of the host
parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
sourcepub fn get_host(&self) -> &Option<AwsEcsTaskVolumeHostDetails>
pub fn get_host(&self) -> &Option<AwsEcsTaskVolumeHostDetails>
This parameter is specified when you use bind mount host volumes. The contents of the host
parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
sourcepub fn build(self) -> AwsEcsTaskVolumeDetails
pub fn build(self) -> AwsEcsTaskVolumeDetails
Consumes the builder and constructs a AwsEcsTaskVolumeDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskVolumeDetailsBuilder
impl Clone for AwsEcsTaskVolumeDetailsBuilder
source§fn clone(&self) -> AwsEcsTaskVolumeDetailsBuilder
fn clone(&self) -> AwsEcsTaskVolumeDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEcsTaskVolumeDetailsBuilder
impl Default for AwsEcsTaskVolumeDetailsBuilder
source§fn default() -> AwsEcsTaskVolumeDetailsBuilder
fn default() -> AwsEcsTaskVolumeDetailsBuilder
source§impl PartialEq for AwsEcsTaskVolumeDetailsBuilder
impl PartialEq for AwsEcsTaskVolumeDetailsBuilder
source§fn eq(&self, other: &AwsEcsTaskVolumeDetailsBuilder) -> bool
fn eq(&self, other: &AwsEcsTaskVolumeDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskVolumeDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEcsTaskVolumeDetailsBuilder
impl RefUnwindSafe for AwsEcsTaskVolumeDetailsBuilder
impl Send for AwsEcsTaskVolumeDetailsBuilder
impl Sync for AwsEcsTaskVolumeDetailsBuilder
impl Unpin for AwsEcsTaskVolumeDetailsBuilder
impl UnwindSafe for AwsEcsTaskVolumeDetailsBuilder
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> 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