Struct aws_sdk_batch::types::builders::EksConfigurationBuilder
source · #[non_exhaustive]pub struct EksConfigurationBuilder { /* private fields */ }
Expand description
A builder for EksConfiguration
.
Implementations§
source§impl EksConfigurationBuilder
impl EksConfigurationBuilder
sourcepub fn eks_cluster_arn(self, input: impl Into<String>) -> Self
pub fn eks_cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch
.
sourcepub fn set_eks_cluster_arn(self, input: Option<String>) -> Self
pub fn set_eks_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch
.
sourcepub fn get_eks_cluster_arn(&self) -> &Option<String>
pub fn get_eks_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch
.
sourcepub fn kubernetes_namespace(self, input: impl Into<String>) -> Self
pub fn kubernetes_namespace(self, input: impl Into<String>) -> Self
The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to default
, can't start with "kube-
," and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
. For more information, see Namespaces in the Kubernetes documentation.
sourcepub fn set_kubernetes_namespace(self, input: Option<String>) -> Self
pub fn set_kubernetes_namespace(self, input: Option<String>) -> Self
The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to default
, can't start with "kube-
," and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
. For more information, see Namespaces in the Kubernetes documentation.
sourcepub fn get_kubernetes_namespace(&self) -> &Option<String>
pub fn get_kubernetes_namespace(&self) -> &Option<String>
The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to default
, can't start with "kube-
," and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
. For more information, see Namespaces in the Kubernetes documentation.
sourcepub fn build(self) -> EksConfiguration
pub fn build(self) -> EksConfiguration
Consumes the builder and constructs a EksConfiguration
.
Trait Implementations§
source§impl Clone for EksConfigurationBuilder
impl Clone for EksConfigurationBuilder
source§fn clone(&self) -> EksConfigurationBuilder
fn clone(&self) -> EksConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EksConfigurationBuilder
impl Debug for EksConfigurationBuilder
source§impl Default for EksConfigurationBuilder
impl Default for EksConfigurationBuilder
source§fn default() -> EksConfigurationBuilder
fn default() -> EksConfigurationBuilder
source§impl PartialEq<EksConfigurationBuilder> for EksConfigurationBuilder
impl PartialEq<EksConfigurationBuilder> for EksConfigurationBuilder
source§fn eq(&self, other: &EksConfigurationBuilder) -> bool
fn eq(&self, other: &EksConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.