#[non_exhaustive]pub struct MonitorContactInputBuilder { /* private fields */ }
Expand description
A builder for MonitorContactInput
.
Implementations§
source§impl MonitorContactInputBuilder
impl MonitorContactInputBuilder
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.
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 instanceId in the 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 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 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 contact.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier of the user account.
This field is required.sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier of the user account.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The identifier of the user account.
sourcepub fn allowed_monitor_capabilities(self, input: MonitorCapability) -> Self
pub fn allowed_monitor_capabilities(self, input: MonitorCapability) -> Self
Appends an item to allowed_monitor_capabilities
.
To override the contents of this collection use set_allowed_monitor_capabilities
.
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge. AllowedMonitorCapabilities is required if barge is enabled.
sourcepub fn set_allowed_monitor_capabilities(
self,
input: Option<Vec<MonitorCapability>>
) -> Self
pub fn set_allowed_monitor_capabilities( self, input: Option<Vec<MonitorCapability>> ) -> Self
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge. AllowedMonitorCapabilities is required if barge is enabled.
sourcepub fn get_allowed_monitor_capabilities(
&self
) -> &Option<Vec<MonitorCapability>>
pub fn get_allowed_monitor_capabilities( &self ) -> &Option<Vec<MonitorCapability>>
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge. AllowedMonitorCapabilities is required if barge is enabled.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn build(self) -> Result<MonitorContactInput, BuildError>
pub fn build(self) -> Result<MonitorContactInput, BuildError>
Consumes the builder and constructs a MonitorContactInput
.
source§impl MonitorContactInputBuilder
impl MonitorContactInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<MonitorContactOutput, SdkError<MonitorContactError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<MonitorContactOutput, SdkError<MonitorContactError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for MonitorContactInputBuilder
impl Clone for MonitorContactInputBuilder
source§fn clone(&self) -> MonitorContactInputBuilder
fn clone(&self) -> MonitorContactInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MonitorContactInputBuilder
impl Debug for MonitorContactInputBuilder
source§impl Default for MonitorContactInputBuilder
impl Default for MonitorContactInputBuilder
source§fn default() -> MonitorContactInputBuilder
fn default() -> MonitorContactInputBuilder
source§impl PartialEq for MonitorContactInputBuilder
impl PartialEq for MonitorContactInputBuilder
source§fn eq(&self, other: &MonitorContactInputBuilder) -> bool
fn eq(&self, other: &MonitorContactInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.