Struct aws_sdk_lambda::types::builders::FileSystemConfigBuilder
source · #[non_exhaustive]pub struct FileSystemConfigBuilder { /* private fields */ }
Expand description
A builder for FileSystemConfig
.
Implementations§
source§impl FileSystemConfigBuilder
impl FileSystemConfigBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
sourcepub fn local_mount_path(self, input: impl Into<String>) -> Self
pub fn local_mount_path(self, input: impl Into<String>) -> Self
The path where the function can access the file system, starting with /mnt/
.
sourcepub fn set_local_mount_path(self, input: Option<String>) -> Self
pub fn set_local_mount_path(self, input: Option<String>) -> Self
The path where the function can access the file system, starting with /mnt/
.
sourcepub fn get_local_mount_path(&self) -> &Option<String>
pub fn get_local_mount_path(&self) -> &Option<String>
The path where the function can access the file system, starting with /mnt/
.
sourcepub fn build(self) -> Result<FileSystemConfig, BuildError>
pub fn build(self) -> Result<FileSystemConfig, BuildError>
Consumes the builder and constructs a FileSystemConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FileSystemConfigBuilder
impl Clone for FileSystemConfigBuilder
source§fn clone(&self) -> FileSystemConfigBuilder
fn clone(&self) -> FileSystemConfigBuilder
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 FileSystemConfigBuilder
impl Debug for FileSystemConfigBuilder
source§impl Default for FileSystemConfigBuilder
impl Default for FileSystemConfigBuilder
source§fn default() -> FileSystemConfigBuilder
fn default() -> FileSystemConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FileSystemConfigBuilder
impl PartialEq for FileSystemConfigBuilder
source§fn eq(&self, other: &FileSystemConfigBuilder) -> bool
fn eq(&self, other: &FileSystemConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileSystemConfigBuilder
Auto Trait Implementations§
impl Freeze for FileSystemConfigBuilder
impl RefUnwindSafe for FileSystemConfigBuilder
impl Send for FileSystemConfigBuilder
impl Sync for FileSystemConfigBuilder
impl Unpin for FileSystemConfigBuilder
impl UnwindSafe for FileSystemConfigBuilder
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.