Struct aws_sdk_support::model::communication::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for Communication
Implementations
sourceimpl Builder
impl Builder
sourcepub fn case_id(self, input: impl Into<String>) -> Self
pub fn case_id(self, input: impl Into<String>) -> Self
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
sourcepub fn set_case_id(self, input: Option<String>) -> Self
pub fn set_case_id(self, input: Option<String>) -> Self
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
sourcepub fn body(self, input: impl Into<String>) -> Self
pub fn body(self, input: impl Into<String>) -> Self
The text of the communication between the customer and Amazon Web Services Support.
sourcepub fn set_body(self, input: Option<String>) -> Self
pub fn set_body(self, input: Option<String>) -> Self
The text of the communication between the customer and Amazon Web Services Support.
sourcepub fn submitted_by(self, input: impl Into<String>) -> Self
pub fn submitted_by(self, input: impl Into<String>) -> Self
The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, "AdminRole (Role)
sourcepub fn set_submitted_by(self, input: Option<String>) -> Self
pub fn set_submitted_by(self, input: Option<String>) -> Self
The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, "AdminRole (Role)
sourcepub fn time_created(self, input: impl Into<String>) -> Self
pub fn time_created(self, input: impl Into<String>) -> Self
The time the communication was created.
sourcepub fn set_time_created(self, input: Option<String>) -> Self
pub fn set_time_created(self, input: Option<String>) -> Self
The time the communication was created.
sourcepub fn attachment_set(self, input: AttachmentDetails) -> Self
pub fn attachment_set(self, input: AttachmentDetails) -> Self
Appends an item to attachment_set.
To override the contents of this collection use set_attachment_set.
Information about the attachments to the case communication.
sourcepub fn set_attachment_set(self, input: Option<Vec<AttachmentDetails>>) -> Self
pub fn set_attachment_set(self, input: Option<Vec<AttachmentDetails>>) -> Self
Information about the attachments to the case communication.
sourcepub fn build(self) -> Communication
pub fn build(self) -> Communication
Consumes the builder and constructs a Communication
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more