Struct aws_sdk_support::model::case_details::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CaseDetails.
Implementations§
source§impl 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 language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.
sourcepub fn set_language(self, input: Option<String>) -> Self
pub fn set_language(self, input: Option<String>) -> Self
The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.
sourcepub fn build(self) -> CaseDetails
pub fn build(self) -> CaseDetails
Consumes the builder and constructs a CaseDetails.