Struct aws_sdk_connectcampaigns::operation::create_campaign::builders::CreateCampaignFluentBuilder
source · pub struct CreateCampaignFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateCampaign
.
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
Implementations§
source§impl CreateCampaignFluentBuilder
impl CreateCampaignFluentBuilder
sourcepub fn as_input(&self) -> &CreateCampaignInputBuilder
pub fn as_input(&self) -> &CreateCampaignInputBuilder
Access the CreateCampaign as a reference.
sourcepub async fn send(
self
) -> Result<CreateCampaignOutput, SdkError<CreateCampaignError, HttpResponse>>
pub async fn send( self ) -> Result<CreateCampaignOutput, SdkError<CreateCampaignError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateCampaignOutput, CreateCampaignError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateCampaignOutput, CreateCampaignError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of an Amazon Connect Campaign name.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of an Amazon Connect Campaign name.
sourcepub fn connect_instance_id(self, input: impl Into<String>) -> Self
pub fn connect_instance_id(self, input: impl Into<String>) -> Self
Amazon Connect Instance Id
sourcepub fn set_connect_instance_id(self, input: Option<String>) -> Self
pub fn set_connect_instance_id(self, input: Option<String>) -> Self
Amazon Connect Instance Id
sourcepub fn get_connect_instance_id(&self) -> &Option<String>
pub fn get_connect_instance_id(&self) -> &Option<String>
Amazon Connect Instance Id
sourcepub fn dialer_config(self, input: DialerConfig) -> Self
pub fn dialer_config(self, input: DialerConfig) -> Self
The possible types of dialer config parameters
sourcepub fn set_dialer_config(self, input: Option<DialerConfig>) -> Self
pub fn set_dialer_config(self, input: Option<DialerConfig>) -> Self
The possible types of dialer config parameters
sourcepub fn get_dialer_config(&self) -> &Option<DialerConfig>
pub fn get_dialer_config(&self) -> &Option<DialerConfig>
The possible types of dialer config parameters
sourcepub fn outbound_call_config(self, input: OutboundCallConfig) -> Self
pub fn outbound_call_config(self, input: OutboundCallConfig) -> Self
The configuration used for outbound calls.
sourcepub fn set_outbound_call_config(self, input: Option<OutboundCallConfig>) -> Self
pub fn set_outbound_call_config(self, input: Option<OutboundCallConfig>) -> Self
The configuration used for outbound calls.
sourcepub fn get_outbound_call_config(&self) -> &Option<OutboundCallConfig>
pub fn get_outbound_call_config(&self) -> &Option<OutboundCallConfig>
The configuration used for outbound calls.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tag map with key and value.
Tag map with key and value.
Tag map with key and value.
Trait Implementations§
source§impl Clone for CreateCampaignFluentBuilder
impl Clone for CreateCampaignFluentBuilder
source§fn clone(&self) -> CreateCampaignFluentBuilder
fn clone(&self) -> CreateCampaignFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateCampaignFluentBuilder
impl !RefUnwindSafe for CreateCampaignFluentBuilder
impl Send for CreateCampaignFluentBuilder
impl Sync for CreateCampaignFluentBuilder
impl Unpin for CreateCampaignFluentBuilder
impl !UnwindSafe for CreateCampaignFluentBuilder
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