pub struct DeleteAddonFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteAddon
.
Deletes an Amazon EKS add-on.
When you remove an add-on, it's deleted from the cluster. You can always manually start an add-on on the cluster using the Kubernetes API.
Implementations§
source§impl DeleteAddonFluentBuilder
impl DeleteAddonFluentBuilder
sourcepub fn as_input(&self) -> &DeleteAddonInputBuilder
pub fn as_input(&self) -> &DeleteAddonInputBuilder
Access the DeleteAddon as a reference.
sourcepub async fn send(
self
) -> Result<DeleteAddonOutput, SdkError<DeleteAddonError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteAddonOutput, SdkError<DeleteAddonError, 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<DeleteAddonOutput, DeleteAddonError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteAddonOutput, DeleteAddonError, 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 addon_name(self, input: impl Into<String>) -> Self
pub fn addon_name(self, input: impl Into<String>) -> Self
The name of the add-on. The name must match one of the names returned by ListAddons
.
sourcepub fn set_addon_name(self, input: Option<String>) -> Self
pub fn set_addon_name(self, input: Option<String>) -> Self
The name of the add-on. The name must match one of the names returned by ListAddons
.
sourcepub fn get_addon_name(&self) -> &Option<String>
pub fn get_addon_name(&self) -> &Option<String>
The name of the add-on. The name must match one of the names returned by ListAddons
.
sourcepub fn preserve(self, input: bool) -> Self
pub fn preserve(self, input: bool) -> Self
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.
sourcepub fn set_preserve(self, input: Option<bool>) -> Self
pub fn set_preserve(self, input: Option<bool>) -> Self
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.
sourcepub fn get_preserve(&self) -> &Option<bool>
pub fn get_preserve(&self) -> &Option<bool>
Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.
Trait Implementations§
source§impl Clone for DeleteAddonFluentBuilder
impl Clone for DeleteAddonFluentBuilder
source§fn clone(&self) -> DeleteAddonFluentBuilder
fn clone(&self) -> DeleteAddonFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more