Struct aws_sdk_budgets::operation::describe_budget_action::builders::DescribeBudgetActionOutputBuilder
source · #[non_exhaustive]pub struct DescribeBudgetActionOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeBudgetActionOutput
.
Implementations§
source§impl DescribeBudgetActionOutputBuilder
impl DescribeBudgetActionOutputBuilder
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 set_action(self, input: Option<Action>) -> Self
pub fn set_action(self, input: Option<Action>) -> Self
A budget action resource.
sourcepub fn get_action(&self) -> &Option<Action>
pub fn get_action(&self) -> &Option<Action>
A budget action resource.
sourcepub fn build(self) -> Result<DescribeBudgetActionOutput, BuildError>
pub fn build(self) -> Result<DescribeBudgetActionOutput, BuildError>
Consumes the builder and constructs a DescribeBudgetActionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DescribeBudgetActionOutputBuilder
impl Clone for DescribeBudgetActionOutputBuilder
source§fn clone(&self) -> DescribeBudgetActionOutputBuilder
fn clone(&self) -> DescribeBudgetActionOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DescribeBudgetActionOutputBuilder
impl Default for DescribeBudgetActionOutputBuilder
source§fn default() -> DescribeBudgetActionOutputBuilder
fn default() -> DescribeBudgetActionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeBudgetActionOutputBuilder
impl PartialEq for DescribeBudgetActionOutputBuilder
source§fn eq(&self, other: &DescribeBudgetActionOutputBuilder) -> bool
fn eq(&self, other: &DescribeBudgetActionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeBudgetActionOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeBudgetActionOutputBuilder
impl RefUnwindSafe for DescribeBudgetActionOutputBuilder
impl Send for DescribeBudgetActionOutputBuilder
impl Sync for DescribeBudgetActionOutputBuilder
impl Unpin for DescribeBudgetActionOutputBuilder
impl UnwindSafe for DescribeBudgetActionOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.