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