Struct aws_sdk_connect::operation::list_agent_statuses::builders::ListAgentStatusesInputBuilder
source · #[non_exhaustive]pub struct ListAgentStatusesInputBuilder { /* private fields */ }
Expand description
A builder for ListAgentStatusesInput
.
Implementations§
source§impl ListAgentStatusesInputBuilder
impl ListAgentStatusesInputBuilder
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 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.
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.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return per page.
sourcepub fn agent_status_types(self, input: AgentStatusType) -> Self
pub fn agent_status_types(self, input: AgentStatusType) -> Self
Appends an item to agent_status_types
.
To override the contents of this collection use set_agent_status_types
.
Available agent status types.
sourcepub fn set_agent_status_types(self, input: Option<Vec<AgentStatusType>>) -> Self
pub fn set_agent_status_types(self, input: Option<Vec<AgentStatusType>>) -> Self
Available agent status types.
sourcepub fn build(self) -> Result<ListAgentStatusesInput, BuildError>
pub fn build(self) -> Result<ListAgentStatusesInput, BuildError>
Consumes the builder and constructs a ListAgentStatusesInput
.
Trait Implementations§
source§impl Clone for ListAgentStatusesInputBuilder
impl Clone for ListAgentStatusesInputBuilder
source§fn clone(&self) -> ListAgentStatusesInputBuilder
fn clone(&self) -> ListAgentStatusesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListAgentStatusesInputBuilder
impl Default for ListAgentStatusesInputBuilder
source§fn default() -> ListAgentStatusesInputBuilder
fn default() -> ListAgentStatusesInputBuilder
source§impl PartialEq<ListAgentStatusesInputBuilder> for ListAgentStatusesInputBuilder
impl PartialEq<ListAgentStatusesInputBuilder> for ListAgentStatusesInputBuilder
source§fn eq(&self, other: &ListAgentStatusesInputBuilder) -> bool
fn eq(&self, other: &ListAgentStatusesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.