Struct aws_sdk_iam::types::builders::StatementBuilder
source · #[non_exhaustive]pub struct StatementBuilder { /* private fields */ }
Expand description
A builder for Statement
.
Implementations§
source§impl StatementBuilder
impl StatementBuilder
sourcepub fn source_policy_id(self, input: impl Into<String>) -> Self
pub fn source_policy_id(self, input: impl Into<String>) -> Self
The identifier of the policy that was provided as an input.
sourcepub fn set_source_policy_id(self, input: Option<String>) -> Self
pub fn set_source_policy_id(self, input: Option<String>) -> Self
The identifier of the policy that was provided as an input.
sourcepub fn get_source_policy_id(&self) -> &Option<String>
pub fn get_source_policy_id(&self) -> &Option<String>
The identifier of the policy that was provided as an input.
sourcepub fn source_policy_type(self, input: PolicySourceType) -> Self
pub fn source_policy_type(self, input: PolicySourceType) -> Self
The type of the policy.
sourcepub fn set_source_policy_type(self, input: Option<PolicySourceType>) -> Self
pub fn set_source_policy_type(self, input: Option<PolicySourceType>) -> Self
The type of the policy.
sourcepub fn get_source_policy_type(&self) -> &Option<PolicySourceType>
pub fn get_source_policy_type(&self) -> &Option<PolicySourceType>
The type of the policy.
sourcepub fn start_position(self, input: Position) -> Self
pub fn start_position(self, input: Position) -> Self
The row and column of the beginning of the Statement
in an IAM policy.
sourcepub fn set_start_position(self, input: Option<Position>) -> Self
pub fn set_start_position(self, input: Option<Position>) -> Self
The row and column of the beginning of the Statement
in an IAM policy.
sourcepub fn get_start_position(&self) -> &Option<Position>
pub fn get_start_position(&self) -> &Option<Position>
The row and column of the beginning of the Statement
in an IAM policy.
sourcepub fn end_position(self, input: Position) -> Self
pub fn end_position(self, input: Position) -> Self
The row and column of the end of a Statement
in an IAM policy.
sourcepub fn set_end_position(self, input: Option<Position>) -> Self
pub fn set_end_position(self, input: Option<Position>) -> Self
The row and column of the end of a Statement
in an IAM policy.
sourcepub fn get_end_position(&self) -> &Option<Position>
pub fn get_end_position(&self) -> &Option<Position>
The row and column of the end of a Statement
in an IAM policy.
Trait Implementations§
source§impl Clone for StatementBuilder
impl Clone for StatementBuilder
source§fn clone(&self) -> StatementBuilder
fn clone(&self) -> StatementBuilder
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 StatementBuilder
impl Debug for StatementBuilder
source§impl Default for StatementBuilder
impl Default for StatementBuilder
source§fn default() -> StatementBuilder
fn default() -> StatementBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StatementBuilder
impl PartialEq for StatementBuilder
source§fn eq(&self, other: &StatementBuilder) -> bool
fn eq(&self, other: &StatementBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StatementBuilder
Auto Trait Implementations§
impl Freeze for StatementBuilder
impl RefUnwindSafe for StatementBuilder
impl Send for StatementBuilder
impl Sync for StatementBuilder
impl Unpin for StatementBuilder
impl UnwindSafe for StatementBuilder
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>
Creates a shared type from an unshared type.