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 ==
.