[−][src]Struct aws_iam::model::builder::ConditionBuilder
A Condition
builder, used with StatementBuilder::if_condition()
.
Methods
impl ConditionBuilder
[src]
pub fn new(operator: GlobalConditionOperator) -> Self
[src]
Create a new Condition with the provided operator.
pub fn new_string_equals() -> Self
[src]
Create a new Condition with operator = StringEquals
pub fn new_string_not_equals() -> Self
[src]
Create a new Condition with operator = StringNotEquals
pub fn new_numeric_equals() -> Self
[src]
Create a new Condition with operator = NumericEquals
pub fn new_numeric_not_equals() -> Self
[src]
Create a new Condition with operator = NumericNotEquals
pub fn new_bool() -> Self
[src]
Create a new Condition with operator = Bool
pub fn for_all(&mut self) -> &mut Self
[src]
Add the for-all-values quantifier.
pub fn for_any(&mut self) -> &mut Self
[src]
Add the for-any-value quantifier.
pub fn right_hand_side(
&mut self,
key: &str,
values: &mut Vec<ConditionValue>
) -> &mut Self
[src]
&mut self,
key: &str,
values: &mut Vec<ConditionValue>
) -> &mut Self
Add a list of values to the right-hand-sidse of this condition.
pub fn right_hand_str(&mut self, key: &str, value: &str) -> &mut Self
[src]
Add a string value to the right-hand-sidse of this condition.
pub fn right_hand_int(&mut self, key: &str, value: i64) -> &mut Self
[src]
Add a integer value to the right-hand-sidse of this condition.
pub fn right_hand_float(&mut self, key: &str, value: f64) -> &mut Self
[src]
Add a float value to the right-hand-sidse of this condition.
pub fn right_hand_bool(&mut self, key: &str, value: bool) -> &mut Self
[src]
Add a boolean value to the right-hand-sidse of this condition.
pub fn if_exists(&mut self) -> &mut Self
[src]
Add the if-exists constraint
pub fn build_as_condition(
&self
) -> HashMap<ConditionOperator, HashMap<QString, OneOrAll<ConditionValue>>>
[src]
&self
) -> HashMap<ConditionOperator, HashMap<QString, OneOrAll<ConditionValue>>>
Convert this one condition into a complete Condition for a statement.
Trait Implementations
Auto Trait Implementations
impl Send for ConditionBuilder
impl Sync for ConditionBuilder
impl Unpin for ConditionBuilder
impl UnwindSafe for ConditionBuilder
impl RefUnwindSafe for ConditionBuilder
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,