Struct aws_sdk_securityhub::types::builders::AwsMountPointBuilder
source · #[non_exhaustive]pub struct AwsMountPointBuilder { /* private fields */ }
Expand description
A builder for AwsMountPoint
.
Implementations§
source§impl AwsMountPointBuilder
impl AwsMountPointBuilder
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 be a volume name referenced in the name
parameter of task definition volume
.
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 be a volume name referenced in the name
parameter of task definition volume
.
sourcepub fn get_source_volume(&self) -> &Option<String>
pub fn get_source_volume(&self) -> &Option<String>
The name of the volume to mount. Must be a volume name referenced in the name
parameter of task definition volume
.
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 build(self) -> AwsMountPoint
pub fn build(self) -> AwsMountPoint
Consumes the builder and constructs a AwsMountPoint
.
Trait Implementations§
source§impl Clone for AwsMountPointBuilder
impl Clone for AwsMountPointBuilder
source§fn clone(&self) -> AwsMountPointBuilder
fn clone(&self) -> AwsMountPointBuilder
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 Debug for AwsMountPointBuilder
impl Debug for AwsMountPointBuilder
source§impl Default for AwsMountPointBuilder
impl Default for AwsMountPointBuilder
source§fn default() -> AwsMountPointBuilder
fn default() -> AwsMountPointBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsMountPointBuilder
impl PartialEq for AwsMountPointBuilder
source§fn eq(&self, other: &AwsMountPointBuilder) -> bool
fn eq(&self, other: &AwsMountPointBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsMountPointBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsMountPointBuilder
impl Send for AwsMountPointBuilder
impl Sync for AwsMountPointBuilder
impl Unpin for AwsMountPointBuilder
impl UnwindSafe for AwsMountPointBuilder
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.