#[non_exhaustive]pub struct ReplayDestinationBuilder { /* private fields */ }Expand description
A builder for ReplayDestination.
Implementations§
source§impl ReplayDestinationBuilder
impl ReplayDestinationBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive.
sourcepub fn filter_arns(self, input: impl Into<String>) -> Self
pub fn filter_arns(self, input: impl Into<String>) -> Self
Appends an item to filter_arns.
To override the contents of this collection use set_filter_arns.
A list of ARNs for rules to replay events to.
sourcepub fn set_filter_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_filter_arns(self, input: Option<Vec<String>>) -> Self
A list of ARNs for rules to replay events to.
sourcepub fn get_filter_arns(&self) -> &Option<Vec<String>>
pub fn get_filter_arns(&self) -> &Option<Vec<String>>
A list of ARNs for rules to replay events to.
sourcepub fn build(self) -> Result<ReplayDestination, BuildError>
pub fn build(self) -> Result<ReplayDestination, BuildError>
Consumes the builder and constructs a ReplayDestination.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ReplayDestinationBuilder
impl Clone for ReplayDestinationBuilder
source§fn clone(&self) -> ReplayDestinationBuilder
fn clone(&self) -> ReplayDestinationBuilder
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 ReplayDestinationBuilder
impl Debug for ReplayDestinationBuilder
source§impl Default for ReplayDestinationBuilder
impl Default for ReplayDestinationBuilder
source§fn default() -> ReplayDestinationBuilder
fn default() -> ReplayDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReplayDestinationBuilder
impl PartialEq for ReplayDestinationBuilder
source§fn eq(&self, other: &ReplayDestinationBuilder) -> bool
fn eq(&self, other: &ReplayDestinationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReplayDestinationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReplayDestinationBuilder
impl Send for ReplayDestinationBuilder
impl Sync for ReplayDestinationBuilder
impl Unpin for ReplayDestinationBuilder
impl UnwindSafe for ReplayDestinationBuilder
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.