Struct aws_sdk_connect::operation::list_contact_references::builders::ListContactReferencesInputBuilder
source · #[non_exhaustive]pub struct ListContactReferencesInputBuilder { /* private fields */ }
Expand description
A builder for ListContactReferencesInput
.
Implementations§
source§impl ListContactReferencesInputBuilder
impl ListContactReferencesInputBuilder
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.
This field is required.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.
This field is required.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 reference_types
.
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.
sourcepub fn build(self) -> Result<ListContactReferencesInput, BuildError>
pub fn build(self) -> Result<ListContactReferencesInput, BuildError>
Consumes the builder and constructs a ListContactReferencesInput
.
source§impl ListContactReferencesInputBuilder
impl ListContactReferencesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListContactReferencesOutput, SdkError<ListContactReferencesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListContactReferencesOutput, SdkError<ListContactReferencesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListContactReferencesInputBuilder
impl Clone for ListContactReferencesInputBuilder
source§fn clone(&self) -> ListContactReferencesInputBuilder
fn clone(&self) -> ListContactReferencesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListContactReferencesInputBuilder
impl Default for ListContactReferencesInputBuilder
source§fn default() -> ListContactReferencesInputBuilder
fn default() -> ListContactReferencesInputBuilder
source§impl PartialEq for ListContactReferencesInputBuilder
impl PartialEq for ListContactReferencesInputBuilder
source§fn eq(&self, other: &ListContactReferencesInputBuilder) -> bool
fn eq(&self, other: &ListContactReferencesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.