Struct aws_sdk_eks::operation::update_cluster_version::builders::UpdateClusterVersionInputBuilder
source · #[non_exhaustive]pub struct UpdateClusterVersionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateClusterVersionInput
.
Implementations§
source§impl UpdateClusterVersionInputBuilder
impl UpdateClusterVersionInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon EKS cluster to update.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon EKS cluster to update.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The desired Kubernetes version following a successful update.
This field is required.sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The desired Kubernetes version following a successful update.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The desired Kubernetes version following a successful update.
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<UpdateClusterVersionInput, BuildError>
pub fn build(self) -> Result<UpdateClusterVersionInput, BuildError>
Consumes the builder and constructs a UpdateClusterVersionInput
.
source§impl UpdateClusterVersionInputBuilder
impl UpdateClusterVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateClusterVersionOutput, SdkError<UpdateClusterVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateClusterVersionOutput, SdkError<UpdateClusterVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateClusterVersionInputBuilder
impl Clone for UpdateClusterVersionInputBuilder
source§fn clone(&self) -> UpdateClusterVersionInputBuilder
fn clone(&self) -> UpdateClusterVersionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateClusterVersionInputBuilder
impl Default for UpdateClusterVersionInputBuilder
source§fn default() -> UpdateClusterVersionInputBuilder
fn default() -> UpdateClusterVersionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateClusterVersionInputBuilder
impl PartialEq for UpdateClusterVersionInputBuilder
source§fn eq(&self, other: &UpdateClusterVersionInputBuilder) -> bool
fn eq(&self, other: &UpdateClusterVersionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateClusterVersionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateClusterVersionInputBuilder
impl Send for UpdateClusterVersionInputBuilder
impl Sync for UpdateClusterVersionInputBuilder
impl Unpin for UpdateClusterVersionInputBuilder
impl UnwindSafe for UpdateClusterVersionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.