Struct aws_sdk_connect::operation::list_contact_references::builders::ListContactReferencesFluentBuilder
source · pub struct ListContactReferencesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListContactReferences
.
This API is in preview release for Amazon Connect and is subject to change.
For the specified referenceTypes
, returns a list of references associated with the contact.
Implementations§
source§impl ListContactReferencesFluentBuilder
impl ListContactReferencesFluentBuilder
sourcepub fn as_input(&self) -> &ListContactReferencesInputBuilder
pub fn as_input(&self) -> &ListContactReferencesInputBuilder
Access the ListContactReferences as a reference.
sourcepub async fn send(
self
) -> Result<ListContactReferencesOutput, SdkError<ListContactReferencesError, HttpResponse>>
pub async fn send( self ) -> Result<ListContactReferencesOutput, SdkError<ListContactReferencesError, 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 async fn customize(
self
) -> Result<CustomizableOperation<ListContactReferencesOutput, ListContactReferencesError, Self>, SdkError<ListContactReferencesError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ListContactReferencesOutput, ListContactReferencesError, Self>, SdkError<ListContactReferencesError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListContactReferencesPaginator
pub fn into_paginator(self) -> ListContactReferencesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the initial contact.
sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the initial contact.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the initial contact.
sourcepub fn reference_types(self, input: ReferenceType) -> Self
pub fn reference_types(self, input: ReferenceType) -> Self
Appends an item to ReferenceTypes
.
To override the contents of this collection use set_reference_types
.
The type of reference.
sourcepub fn set_reference_types(self, input: Option<Vec<ReferenceType>>) -> Self
pub fn set_reference_types(self, input: Option<Vec<ReferenceType>>) -> Self
The type of reference.
sourcepub fn get_reference_types(&self) -> &Option<Vec<ReferenceType>>
pub fn get_reference_types(&self) -> &Option<Vec<ReferenceType>>
The type of reference.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
Trait Implementations§
source§impl Clone for ListContactReferencesFluentBuilder
impl Clone for ListContactReferencesFluentBuilder
source§fn clone(&self) -> ListContactReferencesFluentBuilder
fn clone(&self) -> ListContactReferencesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more