Struct aws_sdk_budgets::operation::update_budget_action::builders::UpdateBudgetActionFluentBuilder
source · pub struct UpdateBudgetActionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateBudgetAction
.
Updates a budget action.
Implementations§
source§impl UpdateBudgetActionFluentBuilder
impl UpdateBudgetActionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateBudgetActionInputBuilder
pub fn as_input(&self) -> &UpdateBudgetActionInputBuilder
Access the UpdateBudgetAction as a reference.
sourcepub async fn send(
self
) -> Result<UpdateBudgetActionOutput, SdkError<UpdateBudgetActionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateBudgetActionOutput, SdkError<UpdateBudgetActionError, 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<UpdateBudgetActionOutput, UpdateBudgetActionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateBudgetActionOutput, UpdateBudgetActionError, 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 account ID of the user. It's a 12-digit number.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID of the user. It's a 12-digit number.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID of the user. It's a 12-digit number.
sourcepub fn budget_name(self, input: impl Into<String>) -> Self
pub fn budget_name(self, input: impl Into<String>) -> Self
A string that represents the budget name. The ":" and "\" characters, and the "/action/" substring, aren't allowed.
sourcepub fn set_budget_name(self, input: Option<String>) -> Self
pub fn set_budget_name(self, input: Option<String>) -> Self
A string that represents the budget name. The ":" and "\" characters, and the "/action/" substring, aren't allowed.
sourcepub fn get_budget_name(&self) -> &Option<String>
pub fn get_budget_name(&self) -> &Option<String>
A string that represents the budget name. The ":" and "\" characters, and the "/action/" substring, aren't allowed.
sourcepub fn action_id(self, input: impl Into<String>) -> Self
pub fn action_id(self, input: impl Into<String>) -> Self
A system-generated universally unique identifier (UUID) for the action.
sourcepub fn set_action_id(self, input: Option<String>) -> Self
pub fn set_action_id(self, input: Option<String>) -> Self
A system-generated universally unique identifier (UUID) for the action.
sourcepub fn get_action_id(&self) -> &Option<String>
pub fn get_action_id(&self) -> &Option<String>
A system-generated universally unique identifier (UUID) for the action.
sourcepub fn notification_type(self, input: NotificationType) -> Self
pub fn notification_type(self, input: NotificationType) -> Self
The type of a notification. It must be ACTUAL or FORECASTED.
sourcepub fn set_notification_type(self, input: Option<NotificationType>) -> Self
pub fn set_notification_type(self, input: Option<NotificationType>) -> Self
The type of a notification. It must be ACTUAL or FORECASTED.
sourcepub fn get_notification_type(&self) -> &Option<NotificationType>
pub fn get_notification_type(&self) -> &Option<NotificationType>
The type of a notification. It must be ACTUAL or FORECASTED.
sourcepub fn action_threshold(self, input: ActionThreshold) -> Self
pub fn action_threshold(self, input: ActionThreshold) -> Self
The trigger threshold of the action.
sourcepub fn set_action_threshold(self, input: Option<ActionThreshold>) -> Self
pub fn set_action_threshold(self, input: Option<ActionThreshold>) -> Self
The trigger threshold of the action.
sourcepub fn get_action_threshold(&self) -> &Option<ActionThreshold>
pub fn get_action_threshold(&self) -> &Option<ActionThreshold>
The trigger threshold of the action.
sourcepub fn definition(self, input: Definition) -> Self
pub fn definition(self, input: Definition) -> Self
Specifies all of the type-specific parameters.
sourcepub fn set_definition(self, input: Option<Definition>) -> Self
pub fn set_definition(self, input: Option<Definition>) -> Self
Specifies all of the type-specific parameters.
sourcepub fn get_definition(&self) -> &Option<Definition>
pub fn get_definition(&self) -> &Option<Definition>
Specifies all of the type-specific parameters.
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The role passed for action execution and reversion. Roles and actions must be in the same account.
sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The role passed for action execution and reversion. Roles and actions must be in the same account.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The role passed for action execution and reversion. Roles and actions must be in the same account.
sourcepub fn approval_model(self, input: ApprovalModel) -> Self
pub fn approval_model(self, input: ApprovalModel) -> Self
This specifies if the action needs manual or automatic approval.
sourcepub fn set_approval_model(self, input: Option<ApprovalModel>) -> Self
pub fn set_approval_model(self, input: Option<ApprovalModel>) -> Self
This specifies if the action needs manual or automatic approval.
sourcepub fn get_approval_model(&self) -> &Option<ApprovalModel>
pub fn get_approval_model(&self) -> &Option<ApprovalModel>
This specifies if the action needs manual or automatic approval.
sourcepub fn subscribers(self, input: Subscriber) -> Self
pub fn subscribers(self, input: Subscriber) -> Self
Appends an item to Subscribers
.
To override the contents of this collection use set_subscribers
.
A list of subscribers.
sourcepub fn set_subscribers(self, input: Option<Vec<Subscriber>>) -> Self
pub fn set_subscribers(self, input: Option<Vec<Subscriber>>) -> Self
A list of subscribers.
sourcepub fn get_subscribers(&self) -> &Option<Vec<Subscriber>>
pub fn get_subscribers(&self) -> &Option<Vec<Subscriber>>
A list of subscribers.
Trait Implementations§
source§impl Clone for UpdateBudgetActionFluentBuilder
impl Clone for UpdateBudgetActionFluentBuilder
source§fn clone(&self) -> UpdateBudgetActionFluentBuilder
fn clone(&self) -> UpdateBudgetActionFluentBuilder
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 UpdateBudgetActionFluentBuilder
impl !RefUnwindSafe for UpdateBudgetActionFluentBuilder
impl Send for UpdateBudgetActionFluentBuilder
impl Sync for UpdateBudgetActionFluentBuilder
impl Unpin for UpdateBudgetActionFluentBuilder
impl !UnwindSafe for UpdateBudgetActionFluentBuilder
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