Struct aws_sdk_securityhub::types::builders::AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails
.
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
sourcepub fn container_path(self, input: impl Into<String>) -> Self
pub fn container_path(self, input: impl Into<String>) -> Self
The path on the container to mount the host volume at.
sourcepub fn set_container_path(self, input: Option<String>) -> Self
pub fn set_container_path(self, input: Option<String>) -> Self
The path on the container to mount the host volume at.
sourcepub fn get_container_path(&self) -> &Option<String>
pub fn get_container_path(&self) -> &Option<String>
The path on the container to mount the host volume at.
sourcepub fn read_only(self, input: bool) -> Self
pub fn read_only(self, input: bool) -> Self
Whether the container has read-only access to the volume.
sourcepub fn set_read_only(self, input: Option<bool>) -> Self
pub fn set_read_only(self, input: Option<bool>) -> Self
Whether the container has read-only access to the volume.
sourcepub fn get_read_only(&self) -> &Option<bool>
pub fn get_read_only(&self) -> &Option<bool>
Whether the container has read-only access to the volume.
sourcepub fn source_volume(self, input: impl Into<String>) -> Self
pub fn source_volume(self, input: impl Into<String>) -> Self
The name of the volume to mount. Must match the name of a volume listed in VolumeDetails
for the task definition.
sourcepub fn set_source_volume(self, input: Option<String>) -> Self
pub fn set_source_volume(self, input: Option<String>) -> Self
The name of the volume to mount. Must match the name of a volume listed in VolumeDetails
for the task definition.
sourcepub fn get_source_volume(&self) -> &Option<String>
pub fn get_source_volume(&self) -> &Option<String>
The name of the volume to mount. Must match the name of a volume listed in VolumeDetails
for the task definition.
sourcepub fn build(self) -> AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails
pub fn build(self) -> AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails
Consumes the builder and constructs a AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
source§fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
fn clone( &self ) -> AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl Default for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
source§fn default(
) -> AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
fn default( ) -> AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
source§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl RefUnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl Send for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl Sync for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl Unpin for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
impl UnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetailsBuilder
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