Struct aws_sdk_eks::operation::update_nodegroup_config::builders::UpdateNodegroupConfigFluentBuilder
source · pub struct UpdateNodegroupConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateNodegroupConfig
.
Updates an Amazon EKS managed node group configuration. Your node group continues to function during the update. The response output includes an update ID that you can use to track the status of your node group update with the DescribeUpdate
API operation. Currently you can update the Kubernetes labels for a node group or the scaling configuration.
Implementations§
source§impl UpdateNodegroupConfigFluentBuilder
impl UpdateNodegroupConfigFluentBuilder
sourcepub fn as_input(&self) -> &UpdateNodegroupConfigInputBuilder
pub fn as_input(&self) -> &UpdateNodegroupConfigInputBuilder
Access the UpdateNodegroupConfig as a reference.
sourcepub async fn send(
self
) -> Result<UpdateNodegroupConfigOutput, SdkError<UpdateNodegroupConfigError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateNodegroupConfigOutput, SdkError<UpdateNodegroupConfigError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateNodegroupConfigOutput, UpdateNodegroupConfigError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateNodegroupConfigOutput, UpdateNodegroupConfigError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of your cluster.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of your cluster.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of your cluster.
sourcepub fn nodegroup_name(self, input: impl Into<String>) -> Self
pub fn nodegroup_name(self, input: impl Into<String>) -> Self
The name of the managed node group to update.
sourcepub fn set_nodegroup_name(self, input: Option<String>) -> Self
pub fn set_nodegroup_name(self, input: Option<String>) -> Self
The name of the managed node group to update.
sourcepub fn get_nodegroup_name(&self) -> &Option<String>
pub fn get_nodegroup_name(&self) -> &Option<String>
The name of the managed node group to update.
sourcepub fn labels(self, input: UpdateLabelsPayload) -> Self
pub fn labels(self, input: UpdateLabelsPayload) -> Self
The Kubernetes labels
to apply to the nodes in the node group after the update.
sourcepub fn set_labels(self, input: Option<UpdateLabelsPayload>) -> Self
pub fn set_labels(self, input: Option<UpdateLabelsPayload>) -> Self
The Kubernetes labels
to apply to the nodes in the node group after the update.
sourcepub fn get_labels(&self) -> &Option<UpdateLabelsPayload>
pub fn get_labels(&self) -> &Option<UpdateLabelsPayload>
The Kubernetes labels
to apply to the nodes in the node group after the update.
sourcepub fn taints(self, input: UpdateTaintsPayload) -> Self
pub fn taints(self, input: UpdateTaintsPayload) -> Self
The Kubernetes taints to be applied to the nodes in the node group after the update. For more information, see Node taints on managed node groups.
sourcepub fn set_taints(self, input: Option<UpdateTaintsPayload>) -> Self
pub fn set_taints(self, input: Option<UpdateTaintsPayload>) -> Self
The Kubernetes taints to be applied to the nodes in the node group after the update. For more information, see Node taints on managed node groups.
sourcepub fn get_taints(&self) -> &Option<UpdateTaintsPayload>
pub fn get_taints(&self) -> &Option<UpdateTaintsPayload>
The Kubernetes taints to be applied to the nodes in the node group after the update. For more information, see Node taints on managed node groups.
sourcepub fn scaling_config(self, input: NodegroupScalingConfig) -> Self
pub fn scaling_config(self, input: NodegroupScalingConfig) -> Self
The scaling configuration details for the Auto Scaling group after the update.
sourcepub fn set_scaling_config(self, input: Option<NodegroupScalingConfig>) -> Self
pub fn set_scaling_config(self, input: Option<NodegroupScalingConfig>) -> Self
The scaling configuration details for the Auto Scaling group after the update.
sourcepub fn get_scaling_config(&self) -> &Option<NodegroupScalingConfig>
pub fn get_scaling_config(&self) -> &Option<NodegroupScalingConfig>
The scaling configuration details for the Auto Scaling group after the update.
sourcepub fn update_config(self, input: NodegroupUpdateConfig) -> Self
pub fn update_config(self, input: NodegroupUpdateConfig) -> Self
The node group update configuration.
sourcepub fn set_update_config(self, input: Option<NodegroupUpdateConfig>) -> Self
pub fn set_update_config(self, input: Option<NodegroupUpdateConfig>) -> Self
The node group update configuration.
sourcepub fn get_update_config(&self) -> &Option<NodegroupUpdateConfig>
pub fn get_update_config(&self) -> &Option<NodegroupUpdateConfig>
The node group update configuration.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Trait Implementations§
source§impl Clone for UpdateNodegroupConfigFluentBuilder
impl Clone for UpdateNodegroupConfigFluentBuilder
source§fn clone(&self) -> UpdateNodegroupConfigFluentBuilder
fn clone(&self) -> UpdateNodegroupConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more