Struct aws_sdk_applicationinsights::operation::update_problem::builders::UpdateProblemInputBuilder
source · #[non_exhaustive]pub struct UpdateProblemInputBuilder { /* private fields */ }
Expand description
A builder for UpdateProblemInput
.
Implementations§
source§impl UpdateProblemInputBuilder
impl UpdateProblemInputBuilder
sourcepub fn problem_id(self, input: impl Into<String>) -> Self
pub fn problem_id(self, input: impl Into<String>) -> Self
The ID of the problem.
This field is required.sourcepub fn set_problem_id(self, input: Option<String>) -> Self
pub fn set_problem_id(self, input: Option<String>) -> Self
The ID of the problem.
sourcepub fn get_problem_id(&self) -> &Option<String>
pub fn get_problem_id(&self) -> &Option<String>
The ID of the problem.
sourcepub fn update_status(self, input: UpdateStatus) -> Self
pub fn update_status(self, input: UpdateStatus) -> Self
The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING
.
sourcepub fn set_update_status(self, input: Option<UpdateStatus>) -> Self
pub fn set_update_status(self, input: Option<UpdateStatus>) -> Self
The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING
.
sourcepub fn get_update_status(&self) -> &Option<UpdateStatus>
pub fn get_update_status(&self) -> &Option<UpdateStatus>
The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING
.
sourcepub fn visibility(self, input: Visibility) -> Self
pub fn visibility(self, input: Visibility) -> Self
The visibility of a problem. When you pass a value of IGNORED
, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE
is passed, the IGNORED
action is reversed.
sourcepub fn set_visibility(self, input: Option<Visibility>) -> Self
pub fn set_visibility(self, input: Option<Visibility>) -> Self
The visibility of a problem. When you pass a value of IGNORED
, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE
is passed, the IGNORED
action is reversed.
sourcepub fn get_visibility(&self) -> &Option<Visibility>
pub fn get_visibility(&self) -> &Option<Visibility>
The visibility of a problem. When you pass a value of IGNORED
, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE
is passed, the IGNORED
action is reversed.
sourcepub fn build(self) -> Result<UpdateProblemInput, BuildError>
pub fn build(self) -> Result<UpdateProblemInput, BuildError>
Consumes the builder and constructs a UpdateProblemInput
.
source§impl UpdateProblemInputBuilder
impl UpdateProblemInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateProblemOutput, SdkError<UpdateProblemError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateProblemOutput, SdkError<UpdateProblemError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateProblemInputBuilder
impl Clone for UpdateProblemInputBuilder
source§fn clone(&self) -> UpdateProblemInputBuilder
fn clone(&self) -> UpdateProblemInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateProblemInputBuilder
impl Debug for UpdateProblemInputBuilder
source§impl Default for UpdateProblemInputBuilder
impl Default for UpdateProblemInputBuilder
source§fn default() -> UpdateProblemInputBuilder
fn default() -> UpdateProblemInputBuilder
source§impl PartialEq for UpdateProblemInputBuilder
impl PartialEq for UpdateProblemInputBuilder
source§fn eq(&self, other: &UpdateProblemInputBuilder) -> bool
fn eq(&self, other: &UpdateProblemInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateProblemInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateProblemInputBuilder
impl RefUnwindSafe for UpdateProblemInputBuilder
impl Send for UpdateProblemInputBuilder
impl Sync for UpdateProblemInputBuilder
impl Unpin for UpdateProblemInputBuilder
impl UnwindSafe for UpdateProblemInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more