Struct aws_sdk_eks::types::builders::OutpostConfigRequestBuilder
source · #[non_exhaustive]pub struct OutpostConfigRequestBuilder { /* private fields */ }
Expand description
A builder for OutpostConfigRequest
.
Implementations§
source§impl OutpostConfigRequestBuilder
impl OutpostConfigRequestBuilder
sourcepub fn outpost_arns(self, input: impl Into<String>) -> Self
pub fn outpost_arns(self, input: impl Into<String>) -> Self
Appends an item to outpost_arns
.
To override the contents of this collection use set_outpost_arns
.
The ARN of the Outpost that you want to use for your local Amazon EKS cluster on Outposts. Only a single Outpost ARN is supported.
sourcepub fn set_outpost_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_outpost_arns(self, input: Option<Vec<String>>) -> Self
The ARN of the Outpost that you want to use for your local Amazon EKS cluster on Outposts. Only a single Outpost ARN is supported.
sourcepub fn get_outpost_arns(&self) -> &Option<Vec<String>>
pub fn get_outpost_arns(&self) -> &Option<Vec<String>>
The ARN of the Outpost that you want to use for your local Amazon EKS cluster on Outposts. Only a single Outpost ARN is supported.
sourcepub fn control_plane_instance_type(self, input: impl Into<String>) -> Self
pub fn control_plane_instance_type(self, input: impl Into<String>) -> Self
The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. Choose an instance type based on the number of nodes that your cluster will have. For more information, see Capacity considerations in the Amazon EKS User Guide.
The instance type that you specify is used for all Kubernetes control plane instances. The instance type can't be changed after cluster creation. The control plane is not automatically scaled by Amazon EKS.
This field is required.sourcepub fn set_control_plane_instance_type(self, input: Option<String>) -> Self
pub fn set_control_plane_instance_type(self, input: Option<String>) -> Self
The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. Choose an instance type based on the number of nodes that your cluster will have. For more information, see Capacity considerations in the Amazon EKS User Guide.
The instance type that you specify is used for all Kubernetes control plane instances. The instance type can't be changed after cluster creation. The control plane is not automatically scaled by Amazon EKS.
sourcepub fn get_control_plane_instance_type(&self) -> &Option<String>
pub fn get_control_plane_instance_type(&self) -> &Option<String>
The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. Choose an instance type based on the number of nodes that your cluster will have. For more information, see Capacity considerations in the Amazon EKS User Guide.
The instance type that you specify is used for all Kubernetes control plane instances. The instance type can't be changed after cluster creation. The control plane is not automatically scaled by Amazon EKS.
sourcepub fn control_plane_placement(
self,
input: ControlPlanePlacementRequest
) -> Self
pub fn control_plane_placement( self, input: ControlPlanePlacementRequest ) -> Self
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.
sourcepub fn set_control_plane_placement(
self,
input: Option<ControlPlanePlacementRequest>
) -> Self
pub fn set_control_plane_placement( self, input: Option<ControlPlanePlacementRequest> ) -> Self
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.
sourcepub fn get_control_plane_placement(
&self
) -> &Option<ControlPlanePlacementRequest>
pub fn get_control_plane_placement( &self ) -> &Option<ControlPlanePlacementRequest>
An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.
sourcepub fn build(self) -> Result<OutpostConfigRequest, BuildError>
pub fn build(self) -> Result<OutpostConfigRequest, BuildError>
Consumes the builder and constructs a OutpostConfigRequest
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OutpostConfigRequestBuilder
impl Clone for OutpostConfigRequestBuilder
source§fn clone(&self) -> OutpostConfigRequestBuilder
fn clone(&self) -> OutpostConfigRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OutpostConfigRequestBuilder
impl Debug for OutpostConfigRequestBuilder
source§impl Default for OutpostConfigRequestBuilder
impl Default for OutpostConfigRequestBuilder
source§fn default() -> OutpostConfigRequestBuilder
fn default() -> OutpostConfigRequestBuilder
source§impl PartialEq for OutpostConfigRequestBuilder
impl PartialEq for OutpostConfigRequestBuilder
source§fn eq(&self, other: &OutpostConfigRequestBuilder) -> bool
fn eq(&self, other: &OutpostConfigRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.