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, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within three days, then the connected cluster will no longer be visible and must be deregistered. See 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 async fn customize(
self
) -> Result<CustomizableOperation<RegisterClusterOutput, RegisterClusterError>, SdkError<RegisterClusterError>>
pub async fn customize( self ) -> Result<CustomizableOperation<RegisterClusterOutput, RegisterClusterError>, SdkError<RegisterClusterError>>
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
Define a unique name for this cluster for your Region.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Define a unique name for this cluster for your Region.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Define a unique name for this cluster for your 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
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
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>
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.
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags do not propagate to any other resources associated with the cluster.
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags do not propagate to any other resources associated with the cluster.
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags do not propagate to any other resources associated with the cluster.
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 more