Struct aws_sdk_support::model::recent_case_communications::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RecentCaseCommunications.
Implementations§
source§impl Builder
impl Builder
sourcepub fn communications(self, input: Communication) -> Self
pub fn communications(self, input: Communication) -> Self
Appends an item to communications.
To override the contents of this collection use set_communications.
The five most recent communications associated with the case.
sourcepub fn set_communications(self, input: Option<Vec<Communication>>) -> Self
pub fn set_communications(self, input: Option<Vec<Communication>>) -> Self
The five most recent communications associated with the case.
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 build(self) -> RecentCaseCommunications
pub fn build(self) -> RecentCaseCommunications
Consumes the builder and constructs a RecentCaseCommunications.