Struct aws_sdk_iotanalytics::operation::sample_channel_data::builders::SampleChannelDataInputBuilder
source · #[non_exhaustive]pub struct SampleChannelDataInputBuilder { /* private fields */ }Expand description
A builder for SampleChannelDataInput.
Implementations§
source§impl SampleChannelDataInputBuilder
impl SampleChannelDataInputBuilder
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name of the channel whose message samples are retrieved.
This field is required.sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name of the channel whose message samples are retrieved.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name of the channel whose message samples are retrieved.
sourcepub fn max_messages(self, input: i32) -> Self
pub fn max_messages(self, input: i32) -> Self
The number of sample messages to be retrieved. The limit is 10. The default is also 10.
sourcepub fn set_max_messages(self, input: Option<i32>) -> Self
pub fn set_max_messages(self, input: Option<i32>) -> Self
The number of sample messages to be retrieved. The limit is 10. The default is also 10.
sourcepub fn get_max_messages(&self) -> &Option<i32>
pub fn get_max_messages(&self) -> &Option<i32>
The number of sample messages to be retrieved. The limit is 10. The default is also 10.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start of the time window from which sample messages are retrieved.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start of the time window from which sample messages are retrieved.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start of the time window from which sample messages are retrieved.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end of the time window from which sample messages are retrieved.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end of the time window from which sample messages are retrieved.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end of the time window from which sample messages are retrieved.
sourcepub fn build(self) -> Result<SampleChannelDataInput, BuildError>
pub fn build(self) -> Result<SampleChannelDataInput, BuildError>
Consumes the builder and constructs a SampleChannelDataInput.
source§impl SampleChannelDataInputBuilder
impl SampleChannelDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SampleChannelDataOutput, SdkError<SampleChannelDataError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SampleChannelDataOutput, SdkError<SampleChannelDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SampleChannelDataInputBuilder
impl Clone for SampleChannelDataInputBuilder
source§fn clone(&self) -> SampleChannelDataInputBuilder
fn clone(&self) -> SampleChannelDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SampleChannelDataInputBuilder
impl Default for SampleChannelDataInputBuilder
source§fn default() -> SampleChannelDataInputBuilder
fn default() -> SampleChannelDataInputBuilder
source§impl PartialEq for SampleChannelDataInputBuilder
impl PartialEq for SampleChannelDataInputBuilder
source§fn eq(&self, other: &SampleChannelDataInputBuilder) -> bool
fn eq(&self, other: &SampleChannelDataInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SampleChannelDataInputBuilder
Auto Trait Implementations§
impl Freeze for SampleChannelDataInputBuilder
impl RefUnwindSafe for SampleChannelDataInputBuilder
impl Send for SampleChannelDataInputBuilder
impl Sync for SampleChannelDataInputBuilder
impl Unpin for SampleChannelDataInputBuilder
impl UnwindSafe for SampleChannelDataInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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