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 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 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 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.
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<StatementBuilder> for StatementBuilder
impl PartialEq<StatementBuilder> 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 ==
.