#[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 ==
.