Struct aws_sdk_budgets::operation::update_notification::builders::UpdateNotificationFluentBuilder
source · pub struct UpdateNotificationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateNotification
.
Updates a notification.
Implementations§
source§impl UpdateNotificationFluentBuilder
impl UpdateNotificationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateNotificationInputBuilder
pub fn as_input(&self) -> &UpdateNotificationInputBuilder
Access the UpdateNotification as a reference.
sourcepub async fn send(
self
) -> Result<UpdateNotificationOutput, SdkError<UpdateNotificationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateNotificationOutput, SdkError<UpdateNotificationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateNotificationOutput, UpdateNotificationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateNotificationOutput, UpdateNotificationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The accountId
that is associated with the budget whose notification you want to update.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The accountId
that is associated with the budget whose notification you want to update.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The accountId
that is associated with the budget whose notification you want to update.
sourcepub fn budget_name(self, input: impl Into<String>) -> Self
pub fn budget_name(self, input: impl Into<String>) -> Self
The name of the budget whose notification you want to update.
sourcepub fn set_budget_name(self, input: Option<String>) -> Self
pub fn set_budget_name(self, input: Option<String>) -> Self
The name of the budget whose notification you want to update.
sourcepub fn get_budget_name(&self) -> &Option<String>
pub fn get_budget_name(&self) -> &Option<String>
The name of the budget whose notification you want to update.
sourcepub fn old_notification(self, input: Notification) -> Self
pub fn old_notification(self, input: Notification) -> Self
The previous notification that is associated with a budget.
sourcepub fn set_old_notification(self, input: Option<Notification>) -> Self
pub fn set_old_notification(self, input: Option<Notification>) -> Self
The previous notification that is associated with a budget.
sourcepub fn get_old_notification(&self) -> &Option<Notification>
pub fn get_old_notification(&self) -> &Option<Notification>
The previous notification that is associated with a budget.
sourcepub fn new_notification(self, input: Notification) -> Self
pub fn new_notification(self, input: Notification) -> Self
The updated notification to be associated with a budget.
sourcepub fn set_new_notification(self, input: Option<Notification>) -> Self
pub fn set_new_notification(self, input: Option<Notification>) -> Self
The updated notification to be associated with a budget.
sourcepub fn get_new_notification(&self) -> &Option<Notification>
pub fn get_new_notification(&self) -> &Option<Notification>
The updated notification to be associated with a budget.
Trait Implementations§
source§impl Clone for UpdateNotificationFluentBuilder
impl Clone for UpdateNotificationFluentBuilder
source§fn clone(&self) -> UpdateNotificationFluentBuilder
fn clone(&self) -> UpdateNotificationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateNotificationFluentBuilder
impl !RefUnwindSafe for UpdateNotificationFluentBuilder
impl Send for UpdateNotificationFluentBuilder
impl Sync for UpdateNotificationFluentBuilder
impl Unpin for UpdateNotificationFluentBuilder
impl !UnwindSafe for UpdateNotificationFluentBuilder
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