Struct aws_sdk_eks::types::builders::ClusterIssueBuilder
source · #[non_exhaustive]pub struct ClusterIssueBuilder { /* private fields */ }
Expand description
A builder for ClusterIssue
.
Implementations§
source§impl ClusterIssueBuilder
impl ClusterIssueBuilder
sourcepub fn code(self, input: ClusterIssueCode) -> Self
pub fn code(self, input: ClusterIssueCode) -> Self
The error code of the issue.
sourcepub fn set_code(self, input: Option<ClusterIssueCode>) -> Self
pub fn set_code(self, input: Option<ClusterIssueCode>) -> Self
The error code of the issue.
sourcepub fn get_code(&self) -> &Option<ClusterIssueCode>
pub fn get_code(&self) -> &Option<ClusterIssueCode>
The error code of the issue.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A description of the issue.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A description of the issue.
sourcepub fn resource_ids(self, input: impl Into<String>) -> Self
pub fn resource_ids(self, input: impl Into<String>) -> Self
Appends an item to resource_ids
.
To override the contents of this collection use set_resource_ids
.
The resource IDs that the issue relates to.
sourcepub fn set_resource_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_resource_ids(self, input: Option<Vec<String>>) -> Self
The resource IDs that the issue relates to.
sourcepub fn get_resource_ids(&self) -> &Option<Vec<String>>
pub fn get_resource_ids(&self) -> &Option<Vec<String>>
The resource IDs that the issue relates to.
sourcepub fn build(self) -> ClusterIssue
pub fn build(self) -> ClusterIssue
Consumes the builder and constructs a ClusterIssue
.
Trait Implementations§
source§impl Clone for ClusterIssueBuilder
impl Clone for ClusterIssueBuilder
source§fn clone(&self) -> ClusterIssueBuilder
fn clone(&self) -> ClusterIssueBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClusterIssueBuilder
impl Debug for ClusterIssueBuilder
source§impl Default for ClusterIssueBuilder
impl Default for ClusterIssueBuilder
source§fn default() -> ClusterIssueBuilder
fn default() -> ClusterIssueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClusterIssueBuilder
impl PartialEq for ClusterIssueBuilder
source§fn eq(&self, other: &ClusterIssueBuilder) -> bool
fn eq(&self, other: &ClusterIssueBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterIssueBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ClusterIssueBuilder
impl Send for ClusterIssueBuilder
impl Sync for ClusterIssueBuilder
impl Unpin for ClusterIssueBuilder
impl UnwindSafe for ClusterIssueBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.