Struct aws_sdk_eks::operation::update_nodegroup_config::builders::UpdateNodegroupConfigInputBuilder
source · #[non_exhaustive]pub struct UpdateNodegroupConfigInputBuilder { /* private fields */ }Expand description
A builder for UpdateNodegroupConfigInput.
Implementations§
source§impl UpdateNodegroupConfigInputBuilder
impl UpdateNodegroupConfigInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateNodegroupConfigInput, BuildError>
pub fn build(self) -> Result<UpdateNodegroupConfigInput, BuildError>
Consumes the builder and constructs a UpdateNodegroupConfigInput.
source§impl UpdateNodegroupConfigInputBuilder
impl UpdateNodegroupConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateNodegroupConfigOutput, SdkError<UpdateNodegroupConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateNodegroupConfigOutput, SdkError<UpdateNodegroupConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateNodegroupConfigInputBuilder
impl Clone for UpdateNodegroupConfigInputBuilder
source§fn clone(&self) -> UpdateNodegroupConfigInputBuilder
fn clone(&self) -> UpdateNodegroupConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateNodegroupConfigInputBuilder
impl Default for UpdateNodegroupConfigInputBuilder
source§fn default() -> UpdateNodegroupConfigInputBuilder
fn default() -> UpdateNodegroupConfigInputBuilder
source§impl PartialEq for UpdateNodegroupConfigInputBuilder
impl PartialEq for UpdateNodegroupConfigInputBuilder
source§fn eq(&self, other: &UpdateNodegroupConfigInputBuilder) -> bool
fn eq(&self, other: &UpdateNodegroupConfigInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateNodegroupConfigInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateNodegroupConfigInputBuilder
impl RefUnwindSafe for UpdateNodegroupConfigInputBuilder
impl Send for UpdateNodegroupConfigInputBuilder
impl Sync for UpdateNodegroupConfigInputBuilder
impl Unpin for UpdateNodegroupConfigInputBuilder
impl UnwindSafe for UpdateNodegroupConfigInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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