Struct aws_sdk_budgets::types::builders::DefinitionBuilder
source · #[non_exhaustive]pub struct DefinitionBuilder { /* private fields */ }
Expand description
A builder for Definition
.
Implementations§
source§impl DefinitionBuilder
impl DefinitionBuilder
sourcepub fn iam_action_definition(self, input: IamActionDefinition) -> Self
pub fn iam_action_definition(self, input: IamActionDefinition) -> Self
The Identity and Access Management (IAM) action definition details.
sourcepub fn set_iam_action_definition(
self,
input: Option<IamActionDefinition>
) -> Self
pub fn set_iam_action_definition( self, input: Option<IamActionDefinition> ) -> Self
The Identity and Access Management (IAM) action definition details.
sourcepub fn get_iam_action_definition(&self) -> &Option<IamActionDefinition>
pub fn get_iam_action_definition(&self) -> &Option<IamActionDefinition>
The Identity and Access Management (IAM) action definition details.
sourcepub fn scp_action_definition(self, input: ScpActionDefinition) -> Self
pub fn scp_action_definition(self, input: ScpActionDefinition) -> Self
The service control policies (SCPs) action definition details.
sourcepub fn set_scp_action_definition(
self,
input: Option<ScpActionDefinition>
) -> Self
pub fn set_scp_action_definition( self, input: Option<ScpActionDefinition> ) -> Self
The service control policies (SCPs) action definition details.
sourcepub fn get_scp_action_definition(&self) -> &Option<ScpActionDefinition>
pub fn get_scp_action_definition(&self) -> &Option<ScpActionDefinition>
The service control policies (SCPs) action definition details.
sourcepub fn ssm_action_definition(self, input: SsmActionDefinition) -> Self
pub fn ssm_action_definition(self, input: SsmActionDefinition) -> Self
The Amazon Web Services Systems Manager (SSM) action definition details.
sourcepub fn set_ssm_action_definition(
self,
input: Option<SsmActionDefinition>
) -> Self
pub fn set_ssm_action_definition( self, input: Option<SsmActionDefinition> ) -> Self
The Amazon Web Services Systems Manager (SSM) action definition details.
sourcepub fn get_ssm_action_definition(&self) -> &Option<SsmActionDefinition>
pub fn get_ssm_action_definition(&self) -> &Option<SsmActionDefinition>
The Amazon Web Services Systems Manager (SSM) action definition details.
sourcepub fn build(self) -> Definition
pub fn build(self) -> Definition
Consumes the builder and constructs a Definition
.
Trait Implementations§
source§impl Clone for DefinitionBuilder
impl Clone for DefinitionBuilder
source§fn clone(&self) -> DefinitionBuilder
fn clone(&self) -> DefinitionBuilder
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 Debug for DefinitionBuilder
impl Debug for DefinitionBuilder
source§impl Default for DefinitionBuilder
impl Default for DefinitionBuilder
source§fn default() -> DefinitionBuilder
fn default() -> DefinitionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DefinitionBuilder
impl PartialEq for DefinitionBuilder
source§fn eq(&self, other: &DefinitionBuilder) -> bool
fn eq(&self, other: &DefinitionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefinitionBuilder
Auto Trait Implementations§
impl Freeze for DefinitionBuilder
impl RefUnwindSafe for DefinitionBuilder
impl Send for DefinitionBuilder
impl Sync for DefinitionBuilder
impl Unpin for DefinitionBuilder
impl UnwindSafe for DefinitionBuilder
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.