Struct aws_sdk_connect::types::builders::ReferenceBuilder
source · #[non_exhaustive]pub struct ReferenceBuilder { /* private fields */ }
Expand description
A builder for Reference
.
Implementations§
source§impl ReferenceBuilder
impl ReferenceBuilder
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
This field is required.sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
sourcepub fn type(self, input: ReferenceType) -> Self
pub fn type(self, input: ReferenceType) -> Self
The type of the reference. DATE
must be of type Epoch timestamp.
sourcepub fn set_type(self, input: Option<ReferenceType>) -> Self
pub fn set_type(self, input: Option<ReferenceType>) -> Self
The type of the reference. DATE
must be of type Epoch timestamp.
sourcepub fn get_type(&self) -> &Option<ReferenceType>
pub fn get_type(&self) -> &Option<ReferenceType>
The type of the reference. DATE
must be of type Epoch timestamp.
Trait Implementations§
source§impl Clone for ReferenceBuilder
impl Clone for ReferenceBuilder
source§fn clone(&self) -> ReferenceBuilder
fn clone(&self) -> ReferenceBuilder
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 ReferenceBuilder
impl Debug for ReferenceBuilder
source§impl Default for ReferenceBuilder
impl Default for ReferenceBuilder
source§fn default() -> ReferenceBuilder
fn default() -> ReferenceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReferenceBuilder
impl PartialEq for ReferenceBuilder
source§fn eq(&self, other: &ReferenceBuilder) -> bool
fn eq(&self, other: &ReferenceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReferenceBuilder
Auto Trait Implementations§
impl Freeze for ReferenceBuilder
impl RefUnwindSafe for ReferenceBuilder
impl Send for ReferenceBuilder
impl Sync for ReferenceBuilder
impl Unpin for ReferenceBuilder
impl UnwindSafe for ReferenceBuilder
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.