Struct aws_sdk_eks::error::server_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ServerException
.
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 Amazon EKS cluster associated with the exception.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The Amazon EKS cluster associated with the exception.
sourcepub fn nodegroup_name(self, input: impl Into<String>) -> Self
pub fn nodegroup_name(self, input: impl Into<String>) -> Self
The Amazon EKS managed node group associated with the exception.
sourcepub fn set_nodegroup_name(self, input: Option<String>) -> Self
pub fn set_nodegroup_name(self, input: Option<String>) -> Self
The Amazon EKS managed node group associated with the exception.
pub fn addon_name(self, input: impl Into<String>) -> Self
pub fn set_addon_name(self, input: Option<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn build(self) -> ServerException
pub fn build(self) -> ServerException
Consumes the builder and constructs a ServerException
.