Struct aws_sdk_eventbridge::operation::create_event_bus::builders::CreateEventBusInputBuilder
source · #[non_exhaustive]pub struct CreateEventBusInputBuilder { /* private fields */ }
Expand description
A builder for CreateEventBusInput
.
Implementations§
source§impl CreateEventBusInputBuilder
impl CreateEventBusInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.
You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.
You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the new event bus.
Custom event bus names can't contain the /
character, but you can use the /
character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.
You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
sourcepub fn event_source_name(self, input: impl Into<String>) -> Self
pub fn event_source_name(self, input: impl Into<String>) -> Self
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
sourcepub fn set_event_source_name(self, input: Option<String>) -> Self
pub fn set_event_source_name(self, input: Option<String>) -> Self
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
sourcepub fn get_event_source_name(&self) -> &Option<String>
pub fn get_event_source_name(&self) -> &Option<String>
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Tags to associate with the event bus.
Tags to associate with the event bus.
Tags to associate with the event bus.
sourcepub fn build(self) -> Result<CreateEventBusInput, BuildError>
pub fn build(self) -> Result<CreateEventBusInput, BuildError>
Consumes the builder and constructs a CreateEventBusInput
.
source§impl CreateEventBusInputBuilder
impl CreateEventBusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateEventBusOutput, SdkError<CreateEventBusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateEventBusOutput, SdkError<CreateEventBusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEventBusInputBuilder
impl Clone for CreateEventBusInputBuilder
source§fn clone(&self) -> CreateEventBusInputBuilder
fn clone(&self) -> CreateEventBusInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateEventBusInputBuilder
impl Debug for CreateEventBusInputBuilder
source§impl Default for CreateEventBusInputBuilder
impl Default for CreateEventBusInputBuilder
source§fn default() -> CreateEventBusInputBuilder
fn default() -> CreateEventBusInputBuilder
source§impl PartialEq for CreateEventBusInputBuilder
impl PartialEq for CreateEventBusInputBuilder
source§fn eq(&self, other: &CreateEventBusInputBuilder) -> bool
fn eq(&self, other: &CreateEventBusInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.