pub struct Builder { /* private fields */ }
Expand description
A builder for AwsEcsTaskVolumeDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> AwsEcsTaskVolumeDetails
pub fn build(self) -> AwsEcsTaskVolumeDetails
Consumes the builder and constructs a AwsEcsTaskVolumeDetails
.