Struct aws_sdk_batch::types::builders::EksVolumeBuilder
source · #[non_exhaustive]pub struct EksVolumeBuilder { /* private fields */ }
Expand description
A builder for EksVolume
.
Implementations§
source§impl EksVolumeBuilder
impl EksVolumeBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
sourcepub fn host_path(self, input: EksHostPath) -> Self
pub fn host_path(self, input: EksHostPath) -> Self
Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
sourcepub fn set_host_path(self, input: Option<EksHostPath>) -> Self
pub fn set_host_path(self, input: Option<EksHostPath>) -> Self
Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
sourcepub fn get_host_path(&self) -> &Option<EksHostPath>
pub fn get_host_path(&self) -> &Option<EksHostPath>
Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
sourcepub fn empty_dir(self, input: EksEmptyDir) -> Self
pub fn empty_dir(self, input: EksEmptyDir) -> Self
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.
sourcepub fn set_empty_dir(self, input: Option<EksEmptyDir>) -> Self
pub fn set_empty_dir(self, input: Option<EksEmptyDir>) -> Self
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.
sourcepub fn get_empty_dir(&self) -> &Option<EksEmptyDir>
pub fn get_empty_dir(&self) -> &Option<EksEmptyDir>
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.
sourcepub fn secret(self, input: EksSecret) -> Self
pub fn secret(self, input: EksSecret) -> Self
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes documentation.
sourcepub fn set_secret(self, input: Option<EksSecret>) -> Self
pub fn set_secret(self, input: Option<EksSecret>) -> Self
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes documentation.
sourcepub fn get_secret(&self) -> &Option<EksSecret>
pub fn get_secret(&self) -> &Option<EksSecret>
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes documentation.
Trait Implementations§
source§impl Clone for EksVolumeBuilder
impl Clone for EksVolumeBuilder
source§fn clone(&self) -> EksVolumeBuilder
fn clone(&self) -> EksVolumeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EksVolumeBuilder
impl Debug for EksVolumeBuilder
source§impl Default for EksVolumeBuilder
impl Default for EksVolumeBuilder
source§fn default() -> EksVolumeBuilder
fn default() -> EksVolumeBuilder
source§impl PartialEq for EksVolumeBuilder
impl PartialEq for EksVolumeBuilder
source§fn eq(&self, other: &EksVolumeBuilder) -> bool
fn eq(&self, other: &EksVolumeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EksVolumeBuilder
Auto Trait Implementations§
impl Freeze for EksVolumeBuilder
impl RefUnwindSafe for EksVolumeBuilder
impl Send for EksVolumeBuilder
impl Sync for EksVolumeBuilder
impl Unpin for EksVolumeBuilder
impl UnwindSafe for EksVolumeBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more