Struct aws_sdk_securityhub::types::builders::AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails
.
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
impl AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
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_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 from which to mount volumes.
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 from which to mount volumes.
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 from which to mount volumes.
sourcepub fn build(self) -> AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails
pub fn build(self) -> AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails
Consumes the builder and constructs a AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
source§fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
fn clone( &self ) -> AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
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 AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
impl Default for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
source§fn default(
) -> AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
fn default( ) -> AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
impl Send for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
impl Sync for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
impl Unpin for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
impl UnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetailsBuilder
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.