Struct aws_sdk_batch::model::eks_volume::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EksVolume
.
Implementations§
source§impl Builder
impl Builder
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.