Struct aws_sdk_eventbridge::model::condition::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Condition.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
Specifies the type of condition. Currently the only supported value is StringEquals.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
Specifies the type of condition. Currently the only supported value is StringEquals.
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
Specifies the value for the key. Currently, this must be the ID of the organization.