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 ==
.