#[non_exhaustive]pub struct DisableRuleInputBuilder { /* private fields */ }Expand description
A builder for DisableRuleInput.
Implementations§
source§impl DisableRuleInputBuilder
impl DisableRuleInputBuilder
sourcepub fn event_bus_name(self, input: impl Into<String>) -> Self
pub fn event_bus_name(self, input: impl Into<String>) -> Self
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
sourcepub fn set_event_bus_name(self, input: Option<String>) -> Self
pub fn set_event_bus_name(self, input: Option<String>) -> Self
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
sourcepub fn build(self) -> Result<DisableRuleInput, BuildError>
pub fn build(self) -> Result<DisableRuleInput, BuildError>
Consumes the builder and constructs a DisableRuleInput.
Trait Implementations§
source§impl Clone for DisableRuleInputBuilder
impl Clone for DisableRuleInputBuilder
source§fn clone(&self) -> DisableRuleInputBuilder
fn clone(&self) -> DisableRuleInputBuilder
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 DisableRuleInputBuilder
impl Debug for DisableRuleInputBuilder
source§impl Default for DisableRuleInputBuilder
impl Default for DisableRuleInputBuilder
source§fn default() -> DisableRuleInputBuilder
fn default() -> DisableRuleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DisableRuleInputBuilder> for DisableRuleInputBuilder
impl PartialEq<DisableRuleInputBuilder> for DisableRuleInputBuilder
source§fn eq(&self, other: &DisableRuleInputBuilder) -> bool
fn eq(&self, other: &DisableRuleInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DisableRuleInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DisableRuleInputBuilder
impl Send for DisableRuleInputBuilder
impl Sync for DisableRuleInputBuilder
impl Unpin for DisableRuleInputBuilder
impl UnwindSafe for DisableRuleInputBuilder
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