Struct aws_sdk_eks::input::delete_addon_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteAddonInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster to delete the add-on from.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster to delete the add-on from.
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 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 build(self) -> Result<DeleteAddonInput, BuildError>
pub fn build(self) -> Result<DeleteAddonInput, BuildError>
Consumes the builder and constructs a DeleteAddonInput
.