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 for EksConfigurationBuilder
 
impl PartialEq 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 ==.impl StructuralPartialEq for EksConfigurationBuilder
Auto Trait Implementations§
impl Freeze for EksConfigurationBuilder
impl RefUnwindSafe for EksConfigurationBuilder
impl Send for EksConfigurationBuilder
impl Sync for EksConfigurationBuilder
impl Unpin for EksConfigurationBuilder
impl UnwindSafe for EksConfigurationBuilder
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