Struct aws_sdk_budgets::operation::execute_budget_action::builders::ExecuteBudgetActionInputBuilder
source · #[non_exhaustive]pub struct ExecuteBudgetActionInputBuilder { /* private fields */ }
Expand description
A builder for ExecuteBudgetActionInput
.
Implementations§
source§impl ExecuteBudgetActionInputBuilder
impl ExecuteBudgetActionInputBuilder
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.
This field is required.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.
This field is required.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.
This field is required.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 execution_type(self, input: ExecutionType) -> Self
pub fn execution_type(self, input: ExecutionType) -> Self
The type of execution.
This field is required.sourcepub fn set_execution_type(self, input: Option<ExecutionType>) -> Self
pub fn set_execution_type(self, input: Option<ExecutionType>) -> Self
The type of execution.
sourcepub fn get_execution_type(&self) -> &Option<ExecutionType>
pub fn get_execution_type(&self) -> &Option<ExecutionType>
The type of execution.
sourcepub fn build(self) -> Result<ExecuteBudgetActionInput, BuildError>
pub fn build(self) -> Result<ExecuteBudgetActionInput, BuildError>
Consumes the builder and constructs a ExecuteBudgetActionInput
.
source§impl ExecuteBudgetActionInputBuilder
impl ExecuteBudgetActionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ExecuteBudgetActionOutput, SdkError<ExecuteBudgetActionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ExecuteBudgetActionOutput, SdkError<ExecuteBudgetActionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ExecuteBudgetActionInputBuilder
impl Clone for ExecuteBudgetActionInputBuilder
source§fn clone(&self) -> ExecuteBudgetActionInputBuilder
fn clone(&self) -> ExecuteBudgetActionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ExecuteBudgetActionInputBuilder
impl Default for ExecuteBudgetActionInputBuilder
source§fn default() -> ExecuteBudgetActionInputBuilder
fn default() -> ExecuteBudgetActionInputBuilder
source§impl PartialEq for ExecuteBudgetActionInputBuilder
impl PartialEq for ExecuteBudgetActionInputBuilder
source§fn eq(&self, other: &ExecuteBudgetActionInputBuilder) -> bool
fn eq(&self, other: &ExecuteBudgetActionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecuteBudgetActionInputBuilder
Auto Trait Implementations§
impl Freeze for ExecuteBudgetActionInputBuilder
impl RefUnwindSafe for ExecuteBudgetActionInputBuilder
impl Send for ExecuteBudgetActionInputBuilder
impl Sync for ExecuteBudgetActionInputBuilder
impl Unpin for ExecuteBudgetActionInputBuilder
impl UnwindSafe for ExecuteBudgetActionInputBuilder
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