Struct aws_sdk_support::operation::describe_communications::builders::DescribeCommunicationsInputBuilder
source · #[non_exhaustive]pub struct DescribeCommunicationsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeCommunicationsInput
.
Implementations§
source§impl DescribeCommunicationsInputBuilder
impl DescribeCommunicationsInputBuilder
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
This field is required.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 get_case_id(&self) -> &Option<String>
pub fn get_case_id(&self) -> &Option<String>
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 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 get_before_time(&self) -> &Option<String>
pub fn get_before_time(&self) -> &Option<String>
The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
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 get_after_time(&self) -> &Option<String>
pub fn get_after_time(&self) -> &Option<String>
The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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 get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return before paginating.
sourcepub fn build(self) -> Result<DescribeCommunicationsInput, BuildError>
pub fn build(self) -> Result<DescribeCommunicationsInput, BuildError>
Consumes the builder and constructs a DescribeCommunicationsInput
.
source§impl DescribeCommunicationsInputBuilder
impl DescribeCommunicationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeCommunicationsOutput, SdkError<DescribeCommunicationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeCommunicationsOutput, SdkError<DescribeCommunicationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeCommunicationsInputBuilder
impl Clone for DescribeCommunicationsInputBuilder
source§fn clone(&self) -> DescribeCommunicationsInputBuilder
fn clone(&self) -> DescribeCommunicationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeCommunicationsInputBuilder
impl Default for DescribeCommunicationsInputBuilder
source§fn default() -> DescribeCommunicationsInputBuilder
fn default() -> DescribeCommunicationsInputBuilder
source§impl PartialEq for DescribeCommunicationsInputBuilder
impl PartialEq for DescribeCommunicationsInputBuilder
source§fn eq(&self, other: &DescribeCommunicationsInputBuilder) -> bool
fn eq(&self, other: &DescribeCommunicationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeCommunicationsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeCommunicationsInputBuilder
impl RefUnwindSafe for DescribeCommunicationsInputBuilder
impl Send for DescribeCommunicationsInputBuilder
impl Sync for DescribeCommunicationsInputBuilder
impl Unpin for DescribeCommunicationsInputBuilder
impl UnwindSafe for DescribeCommunicationsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more