Struct aws_sdk_eventbridge::operation::describe_event_source::builders::DescribeEventSourceOutputBuilder
source · #[non_exhaustive]pub struct DescribeEventSourceOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeEventSourceOutput
.
Implementations§
source§impl DescribeEventSourceOutputBuilder
impl DescribeEventSourceOutputBuilder
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The name of the SaaS partner that created the event source.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The name of the SaaS partner that created the event source.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The name of the SaaS partner that created the event source.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The date and time that the event source was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The date and time that the event source was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The date and time that the event source was created.
sourcepub fn expiration_time(self, input: DateTime) -> Self
pub fn expiration_time(self, input: DateTime) -> Self
The date and time that the event source will expire if you do not create a matching event bus.
sourcepub fn set_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_expiration_time(self, input: Option<DateTime>) -> Self
The date and time that the event source will expire if you do not create a matching event bus.
sourcepub fn get_expiration_time(&self) -> &Option<DateTime>
pub fn get_expiration_time(&self) -> &Option<DateTime>
The date and time that the event source will expire if you do not create a matching event bus.
sourcepub fn state(self, input: EventSourceState) -> Self
pub fn state(self, input: EventSourceState) -> Self
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
sourcepub fn set_state(self, input: Option<EventSourceState>) -> Self
pub fn set_state(self, input: Option<EventSourceState>) -> Self
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
sourcepub fn get_state(&self) -> &Option<EventSourceState>
pub fn get_state(&self) -> &Option<EventSourceState>
The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.
sourcepub fn build(self) -> DescribeEventSourceOutput
pub fn build(self) -> DescribeEventSourceOutput
Consumes the builder and constructs a DescribeEventSourceOutput
.
Trait Implementations§
source§impl Clone for DescribeEventSourceOutputBuilder
impl Clone for DescribeEventSourceOutputBuilder
source§fn clone(&self) -> DescribeEventSourceOutputBuilder
fn clone(&self) -> DescribeEventSourceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeEventSourceOutputBuilder
impl Default for DescribeEventSourceOutputBuilder
source§fn default() -> DescribeEventSourceOutputBuilder
fn default() -> DescribeEventSourceOutputBuilder
source§impl PartialEq for DescribeEventSourceOutputBuilder
impl PartialEq for DescribeEventSourceOutputBuilder
source§fn eq(&self, other: &DescribeEventSourceOutputBuilder) -> bool
fn eq(&self, other: &DescribeEventSourceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeEventSourceOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeEventSourceOutputBuilder
impl RefUnwindSafe for DescribeEventSourceOutputBuilder
impl Send for DescribeEventSourceOutputBuilder
impl Sync for DescribeEventSourceOutputBuilder
impl Unpin for DescribeEventSourceOutputBuilder
impl UnwindSafe for DescribeEventSourceOutputBuilder
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