Struct aws_sdk_eventbridge::operation::create_partner_event_source::CreatePartnerEventSourceInput
source · #[non_exhaustive]pub struct CreatePartnerEventSourceInput {
pub name: Option<String>,
pub account: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the partner event source. This name must be unique and must be in the format partner_name/event_namespace/event_name
. The Amazon Web Services account that wants to use this partner event source must create a partner event bus with a name that matches the name of the partner event source.
account: Option<String>
The Amazon Web Services account ID that is permitted to create a matching partner event bus for this partner event source.
Implementations§
source§impl CreatePartnerEventSourceInput
impl CreatePartnerEventSourceInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the partner event source. This name must be unique and must be in the format partner_name/event_namespace/event_name
. The Amazon Web Services account that wants to use this partner event source must create a partner event bus with a name that matches the name of the partner event source.
source§impl CreatePartnerEventSourceInput
impl CreatePartnerEventSourceInput
sourcepub fn builder() -> CreatePartnerEventSourceInputBuilder
pub fn builder() -> CreatePartnerEventSourceInputBuilder
Creates a new builder-style object to manufacture CreatePartnerEventSourceInput
.
Trait Implementations§
source§impl Clone for CreatePartnerEventSourceInput
impl Clone for CreatePartnerEventSourceInput
source§fn clone(&self) -> CreatePartnerEventSourceInput
fn clone(&self) -> CreatePartnerEventSourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreatePartnerEventSourceInput
impl PartialEq for CreatePartnerEventSourceInput
source§fn eq(&self, other: &CreatePartnerEventSourceInput) -> bool
fn eq(&self, other: &CreatePartnerEventSourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreatePartnerEventSourceInput
Auto Trait Implementations§
impl Freeze for CreatePartnerEventSourceInput
impl RefUnwindSafe for CreatePartnerEventSourceInput
impl Send for CreatePartnerEventSourceInput
impl Sync for CreatePartnerEventSourceInput
impl Unpin for CreatePartnerEventSourceInput
impl UnwindSafe for CreatePartnerEventSourceInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more