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.
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 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 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 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.
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<EksVolumeBuilder> for EksVolumeBuilder
impl PartialEq<EksVolumeBuilder> 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 ==
.