#[non_exhaustive]pub struct DisableRuleInputBuilder { /* private fields */ }Expand description
A builder for DisableRuleInput.
Implementations§
source§impl DisableRuleInputBuilder
impl DisableRuleInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the rule.
This field is required.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 get_event_bus_name(&self) -> &Option<String>
pub fn get_event_bus_name(&self) -> &Option<String>
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.
source§impl DisableRuleInputBuilder
impl DisableRuleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisableRuleOutput, SdkError<DisableRuleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisableRuleOutput, SdkError<DisableRuleError, HttpResponse>>
Sends a request with this input using the given client.
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 for DisableRuleInputBuilder
impl PartialEq 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 Freeze for DisableRuleInputBuilder
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
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.