#[non_exhaustive]pub struct PartnerEventSourceAccountBuilder { /* private fields */ }
Expand description
A builder for PartnerEventSourceAccount
.
Implementations§
source§impl PartnerEventSourceAccountBuilder
impl PartnerEventSourceAccountBuilder
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that the partner event source was offered to.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The Amazon Web Services account ID that the partner event source was offered to.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The date and time 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 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 the Amazon Web Services account doesn't create a matching event bus for it.
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 the Amazon Web Services account doesn't create a matching event bus for it.
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 build(self) -> PartnerEventSourceAccount
pub fn build(self) -> PartnerEventSourceAccount
Consumes the builder and constructs a PartnerEventSourceAccount
.
Trait Implementations§
source§impl Clone for PartnerEventSourceAccountBuilder
impl Clone for PartnerEventSourceAccountBuilder
source§fn clone(&self) -> PartnerEventSourceAccountBuilder
fn clone(&self) -> PartnerEventSourceAccountBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PartnerEventSourceAccountBuilder
impl Default for PartnerEventSourceAccountBuilder
source§fn default() -> PartnerEventSourceAccountBuilder
fn default() -> PartnerEventSourceAccountBuilder
source§impl PartialEq<PartnerEventSourceAccountBuilder> for PartnerEventSourceAccountBuilder
impl PartialEq<PartnerEventSourceAccountBuilder> for PartnerEventSourceAccountBuilder
source§fn eq(&self, other: &PartnerEventSourceAccountBuilder) -> bool
fn eq(&self, other: &PartnerEventSourceAccountBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.