pub struct RegisterClusterFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to RegisterCluster.
Connects a Kubernetes cluster to the Amazon EKS control plane.
Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
Cluster connection requires two steps. First, send a to add it to the Amazon EKS control plane.RegisterClusterRequest
Second, a Manifest containing the activationID and activationCode must be applied to the Kubernetes cluster through it's native provider to provide visibility.
After the manifest is updated and applied, the connected cluster is visible to the Amazon EKS control plane. If the manifest isn't applied within three days, the connected cluster will no longer be visible and must be deregistered using DeregisterCluster.
Implementations§
source§impl RegisterClusterFluentBuilder
impl RegisterClusterFluentBuilder
sourcepub fn as_input(&self) -> &RegisterClusterInputBuilder
pub fn as_input(&self) -> &RegisterClusterInputBuilder
Access the RegisterCluster as a reference.
sourcepub async fn send(
self,
) -> Result<RegisterClusterOutput, SdkError<RegisterClusterError, HttpResponse>>
pub async fn send( self, ) -> Result<RegisterClusterOutput, SdkError<RegisterClusterError, 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<RegisterClusterOutput, RegisterClusterError, Self>
pub fn customize( self, ) -> CustomizableOperation<RegisterClusterOutput, RegisterClusterError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A unique name for this cluster in your Amazon Web Services Region.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A unique name for this cluster in your Amazon Web Services Region.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A unique name for this cluster in your Amazon Web Services Region.
sourcepub fn connector_config(self, input: ConnectorConfigRequest) -> Self
pub fn connector_config(self, input: ConnectorConfigRequest) -> Self
The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
sourcepub fn set_connector_config(self, input: Option<ConnectorConfigRequest>) -> Self
pub fn set_connector_config(self, input: Option<ConnectorConfigRequest>) -> Self
The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
sourcepub fn get_connector_config(&self) -> &Option<ConnectorConfigRequest>
pub fn get_connector_config(&self) -> &Option<ConnectorConfigRequest>
The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
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.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
Trait Implementations§
source§impl Clone for RegisterClusterFluentBuilder
impl Clone for RegisterClusterFluentBuilder
source§fn clone(&self) -> RegisterClusterFluentBuilder
fn clone(&self) -> RegisterClusterFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for RegisterClusterFluentBuilder
impl !RefUnwindSafe for RegisterClusterFluentBuilder
impl Send for RegisterClusterFluentBuilder
impl Sync for RegisterClusterFluentBuilder
impl Unpin for RegisterClusterFluentBuilder
impl !UnwindSafe for RegisterClusterFluentBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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