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.
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<UpdateProblemInputBuilder> for UpdateProblemInputBuilder
impl PartialEq<UpdateProblemInputBuilder> 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 ==.