Struct aws_sdk_connect::types::builders::AgentConfigBuilder
source · #[non_exhaustive]pub struct AgentConfigBuilder { /* private fields */ }
Expand description
A builder for AgentConfig
.
Implementations§
source§impl AgentConfigBuilder
impl AgentConfigBuilder
sourcepub fn distributions(self, input: Distribution) -> Self
pub fn distributions(self, input: Distribution) -> Self
Appends an item to distributions
.
To override the contents of this collection use set_distributions
.
Information about traffic distributions.
sourcepub fn set_distributions(self, input: Option<Vec<Distribution>>) -> Self
pub fn set_distributions(self, input: Option<Vec<Distribution>>) -> Self
Information about traffic distributions.
sourcepub fn get_distributions(&self) -> &Option<Vec<Distribution>>
pub fn get_distributions(&self) -> &Option<Vec<Distribution>>
Information about traffic distributions.
sourcepub fn build(self) -> Result<AgentConfig, BuildError>
pub fn build(self) -> Result<AgentConfig, BuildError>
Consumes the builder and constructs a AgentConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AgentConfigBuilder
impl Clone for AgentConfigBuilder
source§fn clone(&self) -> AgentConfigBuilder
fn clone(&self) -> AgentConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AgentConfigBuilder
impl Debug for AgentConfigBuilder
source§impl Default for AgentConfigBuilder
impl Default for AgentConfigBuilder
source§fn default() -> AgentConfigBuilder
fn default() -> AgentConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AgentConfigBuilder
impl PartialEq for AgentConfigBuilder
source§fn eq(&self, other: &AgentConfigBuilder) -> bool
fn eq(&self, other: &AgentConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AgentConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AgentConfigBuilder
impl Send for AgentConfigBuilder
impl Sync for AgentConfigBuilder
impl Unpin for AgentConfigBuilder
impl UnwindSafe for AgentConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.