Struct aws_sdk_support::input::describe_cases_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DescribeCasesInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn case_id_list(self, input: impl Into<String>) -> Self
pub fn case_id_list(self, input: impl Into<String>) -> Self
Appends an item to case_id_list.
To override the contents of this collection use set_case_id_list.
A list of ID numbers of the support cases you want returned. The maximum number of cases is 100.
sourcepub fn set_case_id_list(self, input: Option<Vec<String>>) -> Self
pub fn set_case_id_list(self, input: Option<Vec<String>>) -> Self
A list of ID numbers of the support cases you want returned. The maximum number of cases is 100.
sourcepub fn display_id(self, input: impl Into<String>) -> Self
pub fn display_id(self, input: impl Into<String>) -> Self
The ID displayed for a case in the Amazon Web Services Support Center user interface.
sourcepub fn set_display_id(self, input: Option<String>) -> Self
pub fn set_display_id(self, input: Option<String>) -> Self
The ID displayed for a case in the Amazon Web Services Support Center user interface.
sourcepub fn after_time(self, input: impl Into<String>) -> Self
pub fn after_time(self, input: impl Into<String>) -> Self
The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
sourcepub fn set_after_time(self, input: Option<String>) -> Self
pub fn set_after_time(self, input: Option<String>) -> Self
The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
sourcepub fn before_time(self, input: impl Into<String>) -> Self
pub fn before_time(self, input: impl Into<String>) -> Self
The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
sourcepub fn set_before_time(self, input: Option<String>) -> Self
pub fn set_before_time(self, input: Option<String>) -> Self
The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
sourcepub fn include_resolved_cases(self, input: bool) -> Self
pub fn include_resolved_cases(self, input: bool) -> Self
Specifies whether to include resolved support cases in the DescribeCases response. By default, resolved cases aren't included.
sourcepub fn set_include_resolved_cases(self, input: Option<bool>) -> Self
pub fn set_include_resolved_cases(self, input: Option<bool>) -> Self
Specifies whether to include resolved support cases in the DescribeCases response. By default, resolved cases aren't included.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A resumption point for pagination.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A resumption point for pagination.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return before paginating.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return before paginating.
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 include_communications(self, input: bool) -> Self
pub fn include_communications(self, input: bool) -> Self
Specifies whether to include communications in the DescribeCases response. By default, communications are included.
sourcepub fn set_include_communications(self, input: Option<bool>) -> Self
pub fn set_include_communications(self, input: Option<bool>) -> Self
Specifies whether to include communications in the DescribeCases response. By default, communications are included.
sourcepub fn build(self) -> Result<DescribeCasesInput, BuildError>
pub fn build(self) -> Result<DescribeCasesInput, BuildError>
Consumes the builder and constructs a DescribeCasesInput.