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
source§fn eq(&self, other: &EksConfigurationBuilder) -> bool
fn eq(&self, other: &EksConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.