pub struct Builder { /* private fields */ }
Expand description
A builder for ListContactReferencesInput
.
Implementations§
source§impl Builder
impl Builder
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 instanceId in the 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 instanceId in the 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 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 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 build(self) -> Result<ListContactReferencesInput, BuildError>
pub fn build(self) -> Result<ListContactReferencesInput, BuildError>
Consumes the builder and constructs a ListContactReferencesInput
.