Struct aws_sdk_amp::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 cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
ARN of the Amazon EKS cluster.
This field is required.sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
ARN of the Amazon EKS cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
ARN of the Amazon EKS cluster.
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids
.
To override the contents of this collection use set_security_group_ids
.
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
A list of the security group IDs for the Amazon EKS cluster VPC configuration.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids
.
To override the contents of this collection use set_subnet_ids
.
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
A list of subnet IDs for the Amazon EKS cluster VPC configuration.
sourcepub fn build(self) -> Result<EksConfiguration, BuildError>
pub fn build(self) -> Result<EksConfiguration, BuildError>
Consumes the builder and constructs a EksConfiguration
.
This method will fail if any of the following fields are not set:
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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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