#[non_exhaustive]pub struct AwsEcsTaskVolumeHostDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEcsTaskVolumeHostDetails
.
Implementations§
source§impl AwsEcsTaskVolumeHostDetailsBuilder
impl AwsEcsTaskVolumeHostDetailsBuilder
sourcepub fn source_path(self, input: impl Into<String>) -> Self
pub fn source_path(self, input: impl Into<String>) -> Self
When the host
parameter is used, specify a sourcePath
to declare the path on the host container instance that's presented to the container.
sourcepub fn set_source_path(self, input: Option<String>) -> Self
pub fn set_source_path(self, input: Option<String>) -> Self
When the host
parameter is used, specify a sourcePath
to declare the path on the host container instance that's presented to the container.
sourcepub fn get_source_path(&self) -> &Option<String>
pub fn get_source_path(&self) -> &Option<String>
When the host
parameter is used, specify a sourcePath
to declare the path on the host container instance that's presented to the container.
sourcepub fn build(self) -> AwsEcsTaskVolumeHostDetails
pub fn build(self) -> AwsEcsTaskVolumeHostDetails
Consumes the builder and constructs a AwsEcsTaskVolumeHostDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskVolumeHostDetailsBuilder
impl Clone for AwsEcsTaskVolumeHostDetailsBuilder
source§fn clone(&self) -> AwsEcsTaskVolumeHostDetailsBuilder
fn clone(&self) -> AwsEcsTaskVolumeHostDetailsBuilder
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 AwsEcsTaskVolumeHostDetailsBuilder
impl Default for AwsEcsTaskVolumeHostDetailsBuilder
source§fn default() -> AwsEcsTaskVolumeHostDetailsBuilder
fn default() -> AwsEcsTaskVolumeHostDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsEcsTaskVolumeHostDetailsBuilder
impl PartialEq for AwsEcsTaskVolumeHostDetailsBuilder
source§fn eq(&self, other: &AwsEcsTaskVolumeHostDetailsBuilder) -> bool
fn eq(&self, other: &AwsEcsTaskVolumeHostDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskVolumeHostDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEcsTaskVolumeHostDetailsBuilder
impl RefUnwindSafe for AwsEcsTaskVolumeHostDetailsBuilder
impl Send for AwsEcsTaskVolumeHostDetailsBuilder
impl Sync for AwsEcsTaskVolumeHostDetailsBuilder
impl Unpin for AwsEcsTaskVolumeHostDetailsBuilder
impl UnwindSafe for AwsEcsTaskVolumeHostDetailsBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.