Struct aws_sdk_support::model::case_details::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CaseDetails
.
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 display_id(self, input: impl Into<String>) -> Self
pub fn display_id(self, input: impl Into<String>) -> Self
The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.
sourcepub fn set_display_id(self, input: Option<String>) -> Self
pub fn set_display_id(self, input: Option<String>) -> Self
The ID displayed for the case in the Amazon Web Services Support Center. This is a numeric string.
sourcepub fn subject(self, input: impl Into<String>) -> Self
pub fn subject(self, input: impl Into<String>) -> Self
The subject line for the case in the Amazon Web Services Support Center.
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The subject line for the case in the Amazon Web Services Support Center.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the case.
Valid values:
-
opened
-
pending-customer-action
-
reopened
-
resolved
-
unassigned
-
work-in-progress
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the case.
Valid values:
-
opened
-
pending-customer-action
-
reopened
-
resolved
-
unassigned
-
work-in-progress
sourcepub fn service_code(self, input: impl Into<String>) -> Self
pub fn service_code(self, input: impl Into<String>) -> Self
The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices
.
sourcepub fn set_service_code(self, input: Option<String>) -> Self
pub fn set_service_code(self, input: Option<String>) -> Self
The code for the Amazon Web Services service. You can get a list of codes and the corresponding service names by calling DescribeServices
.
sourcepub fn category_code(self, input: impl Into<String>) -> Self
pub fn category_code(self, input: impl Into<String>) -> Self
The category of problem for the support case.
sourcepub fn set_category_code(self, input: Option<String>) -> Self
pub fn set_category_code(self, input: Option<String>) -> Self
The category of problem for the support case.
sourcepub fn severity_code(self, input: impl Into<String>) -> Self
pub fn severity_code(self, input: impl Into<String>) -> Self
The code for the severity level returned by the call to DescribeSeverityLevels
.
sourcepub fn set_severity_code(self, input: Option<String>) -> Self
pub fn set_severity_code(self, input: Option<String>) -> Self
The code for the severity level returned by the call to DescribeSeverityLevels
.
sourcepub fn submitted_by(self, input: impl Into<String>) -> Self
pub fn submitted_by(self, input: impl Into<String>) -> Self
The email address of the account that submitted the case.
sourcepub fn set_submitted_by(self, input: Option<String>) -> Self
pub fn set_submitted_by(self, input: Option<String>) -> Self
The email address of the account that submitted the case.
sourcepub fn time_created(self, input: impl Into<String>) -> Self
pub fn time_created(self, input: impl Into<String>) -> Self
The time that the case was created in the Amazon Web Services Support Center.
sourcepub fn set_time_created(self, input: Option<String>) -> Self
pub fn set_time_created(self, input: Option<String>) -> Self
The time that the case was created in the Amazon Web Services Support Center.
sourcepub fn recent_communications(self, input: RecentCaseCommunications) -> Self
pub fn recent_communications(self, input: RecentCaseCommunications) -> Self
The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any attachments to the communications. Also includes a nextToken
that you can use to retrieve earlier communications.
sourcepub fn set_recent_communications(
self,
input: Option<RecentCaseCommunications>
) -> Self
pub fn set_recent_communications(
self,
input: Option<RecentCaseCommunications>
) -> Self
The five most recent communications between you and Amazon Web Services Support Center, including the IDs of any attachments to the communications. Also includes a nextToken
that you can use to retrieve earlier communications.
sourcepub fn cc_email_addresses(self, input: impl Into<String>) -> Self
pub fn cc_email_addresses(self, input: impl Into<String>) -> Self
Appends an item to cc_email_addresses
.
To override the contents of this collection use set_cc_email_addresses
.
The email addresses that receive copies of communication about the case.
sourcepub fn set_cc_email_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_cc_email_addresses(self, input: Option<Vec<String>>) -> Self
The email addresses that receive copies of communication about the case.
sourcepub fn language(self, input: impl Into<String>) -> Self
pub fn language(self, input: impl Into<String>) -> Self
The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
sourcepub fn set_language(self, input: Option<String>) -> Self
pub fn set_language(self, input: Option<String>) -> Self
The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
sourcepub fn build(self) -> CaseDetails
pub fn build(self) -> CaseDetails
Consumes the builder and constructs a CaseDetails
.
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