Struct aws_sdk_batch::types::builders::EksHostPathBuilder
source · #[non_exhaustive]pub struct EksHostPathBuilder { /* private fields */ }
Expand description
A builder for EksHostPath
.
Implementations§
source§impl EksHostPathBuilder
impl EksHostPathBuilder
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The path of the file or directory on the host to mount into containers on the pod.
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The path of the file or directory on the host to mount into containers on the pod.
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
The path of the file or directory on the host to mount into containers on the pod.
sourcepub fn build(self) -> EksHostPath
pub fn build(self) -> EksHostPath
Consumes the builder and constructs a EksHostPath
.
Trait Implementations§
source§impl Clone for EksHostPathBuilder
impl Clone for EksHostPathBuilder
source§fn clone(&self) -> EksHostPathBuilder
fn clone(&self) -> EksHostPathBuilder
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 EksHostPathBuilder
impl Debug for EksHostPathBuilder
source§impl Default for EksHostPathBuilder
impl Default for EksHostPathBuilder
source§fn default() -> EksHostPathBuilder
fn default() -> EksHostPathBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EksHostPathBuilder> for EksHostPathBuilder
impl PartialEq<EksHostPathBuilder> for EksHostPathBuilder
source§fn eq(&self, other: &EksHostPathBuilder) -> bool
fn eq(&self, other: &EksHostPathBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EksHostPathBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EksHostPathBuilder
impl Send for EksHostPathBuilder
impl Sync for EksHostPathBuilder
impl Unpin for EksHostPathBuilder
impl UnwindSafe for EksHostPathBuilder
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