Struct aws_sdk_appintegrations::operation::create_event_integration::builders::CreateEventIntegrationInputBuilder
source · #[non_exhaustive]pub struct CreateEventIntegrationInputBuilder { /* private fields */ }
Expand description
A builder for CreateEventIntegrationInput
.
Implementations§
source§impl CreateEventIntegrationInputBuilder
impl CreateEventIntegrationInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the event integration.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the event integration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the event integration.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the event integration.
sourcepub fn event_filter(self, input: EventFilter) -> Self
pub fn event_filter(self, input: EventFilter) -> Self
The event filter.
This field is required.sourcepub fn set_event_filter(self, input: Option<EventFilter>) -> Self
pub fn set_event_filter(self, input: Option<EventFilter>) -> Self
The event filter.
sourcepub fn get_event_filter(&self) -> &Option<EventFilter>
pub fn get_event_filter(&self) -> &Option<EventFilter>
The event filter.
sourcepub fn event_bridge_bus(self, input: impl Into<String>) -> Self
pub fn event_bridge_bus(self, input: impl Into<String>) -> Self
The EventBridge bus.
This field is required.sourcepub fn set_event_bridge_bus(self, input: Option<String>) -> Self
pub fn set_event_bridge_bus(self, input: Option<String>) -> Self
The EventBridge bus.
sourcepub fn get_event_bridge_bus(&self) -> &Option<String>
pub fn get_event_bridge_bus(&self) -> &Option<String>
The EventBridge bus.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn build(self) -> Result<CreateEventIntegrationInput, BuildError>
pub fn build(self) -> Result<CreateEventIntegrationInput, BuildError>
Consumes the builder and constructs a CreateEventIntegrationInput
.
source§impl CreateEventIntegrationInputBuilder
impl CreateEventIntegrationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateEventIntegrationOutput, SdkError<CreateEventIntegrationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateEventIntegrationOutput, SdkError<CreateEventIntegrationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEventIntegrationInputBuilder
impl Clone for CreateEventIntegrationInputBuilder
source§fn clone(&self) -> CreateEventIntegrationInputBuilder
fn clone(&self) -> CreateEventIntegrationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateEventIntegrationInputBuilder
impl Default for CreateEventIntegrationInputBuilder
source§fn default() -> CreateEventIntegrationInputBuilder
fn default() -> CreateEventIntegrationInputBuilder
source§impl PartialEq for CreateEventIntegrationInputBuilder
impl PartialEq for CreateEventIntegrationInputBuilder
source§fn eq(&self, other: &CreateEventIntegrationInputBuilder) -> bool
fn eq(&self, other: &CreateEventIntegrationInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateEventIntegrationInputBuilder
Auto Trait Implementations§
impl Freeze for CreateEventIntegrationInputBuilder
impl RefUnwindSafe for CreateEventIntegrationInputBuilder
impl Send for CreateEventIntegrationInputBuilder
impl Sync for CreateEventIntegrationInputBuilder
impl Unpin for CreateEventIntegrationInputBuilder
impl UnwindSafe for CreateEventIntegrationInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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