Struct aws_sdk_customerprofiles::operation::create_event_stream::builders::CreateEventStreamInputBuilder
source · #[non_exhaustive]pub struct CreateEventStreamInputBuilder { /* private fields */ }
Expand description
A builder for CreateEventStreamInput
.
Implementations§
source§impl CreateEventStreamInputBuilder
impl CreateEventStreamInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The unique name of the domain.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The unique name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The unique name of the domain.
sourcepub fn uri(self, input: impl Into<String>) -> Self
pub fn uri(self, input: impl Into<String>) -> Self
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
This field is required.sourcepub fn set_uri(self, input: Option<String>) -> Self
pub fn set_uri(self, input: Option<String>) -> Self
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
sourcepub fn get_uri(&self) -> &Option<String>
pub fn get_uri(&self) -> &Option<String>
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
sourcepub fn event_stream_name(self, input: impl Into<String>) -> Self
pub fn event_stream_name(self, input: impl Into<String>) -> Self
The name of the event stream.
This field is required.sourcepub fn set_event_stream_name(self, input: Option<String>) -> Self
pub fn set_event_stream_name(self, input: Option<String>) -> Self
The name of the event stream.
sourcepub fn get_event_stream_name(&self) -> &Option<String>
pub fn get_event_stream_name(&self) -> &Option<String>
The name of the event stream.
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.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
sourcepub fn build(self) -> Result<CreateEventStreamInput, BuildError>
pub fn build(self) -> Result<CreateEventStreamInput, BuildError>
Consumes the builder and constructs a CreateEventStreamInput
.
source§impl CreateEventStreamInputBuilder
impl CreateEventStreamInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateEventStreamOutput, SdkError<CreateEventStreamError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateEventStreamOutput, SdkError<CreateEventStreamError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEventStreamInputBuilder
impl Clone for CreateEventStreamInputBuilder
source§fn clone(&self) -> CreateEventStreamInputBuilder
fn clone(&self) -> CreateEventStreamInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateEventStreamInputBuilder
impl Default for CreateEventStreamInputBuilder
source§fn default() -> CreateEventStreamInputBuilder
fn default() -> CreateEventStreamInputBuilder
source§impl PartialEq for CreateEventStreamInputBuilder
impl PartialEq for CreateEventStreamInputBuilder
source§fn eq(&self, other: &CreateEventStreamInputBuilder) -> bool
fn eq(&self, other: &CreateEventStreamInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateEventStreamInputBuilder
Auto Trait Implementations§
impl Freeze for CreateEventStreamInputBuilder
impl RefUnwindSafe for CreateEventStreamInputBuilder
impl Send for CreateEventStreamInputBuilder
impl Sync for CreateEventStreamInputBuilder
impl Unpin for CreateEventStreamInputBuilder
impl UnwindSafe for CreateEventStreamInputBuilder
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