Struct aws_sdk_iotanalytics::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingInputBuilder
source · #[non_exhaustive]pub struct StartPipelineReprocessingInputBuilder { /* private fields */ }
Expand description
A builder for StartPipelineReprocessingInput
.
Implementations§
source§impl StartPipelineReprocessingInputBuilder
impl StartPipelineReprocessingInputBuilder
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline on which to start reprocessing.
This field is required.sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline on which to start reprocessing.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the pipeline on which to start reprocessing.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time (inclusive) of raw message data that is reprocessed.
If you specify a value for the startTime
parameter, you must not use the channelMessages
object.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time (inclusive) of raw message data that is reprocessed.
If you specify a value for the startTime
parameter, you must not use the channelMessages
object.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time (inclusive) of raw message data that is reprocessed.
If you specify a value for the startTime
parameter, you must not use the channelMessages
object.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end time (exclusive) of raw message data that is reprocessed.
If you specify a value for the endTime
parameter, you must not use the channelMessages
object.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time (exclusive) of raw message data that is reprocessed.
If you specify a value for the endTime
parameter, you must not use the channelMessages
object.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end time (exclusive) of raw message data that is reprocessed.
If you specify a value for the endTime
parameter, you must not use the channelMessages
object.
sourcepub fn channel_messages(self, input: ChannelMessages) -> Self
pub fn channel_messages(self, input: ChannelMessages) -> Self
Specifies one or more sets of channel messages that you want to reprocess.
If you use the channelMessages
object, you must not specify a value for startTime
and endTime
.
sourcepub fn set_channel_messages(self, input: Option<ChannelMessages>) -> Self
pub fn set_channel_messages(self, input: Option<ChannelMessages>) -> Self
Specifies one or more sets of channel messages that you want to reprocess.
If you use the channelMessages
object, you must not specify a value for startTime
and endTime
.
sourcepub fn get_channel_messages(&self) -> &Option<ChannelMessages>
pub fn get_channel_messages(&self) -> &Option<ChannelMessages>
Specifies one or more sets of channel messages that you want to reprocess.
If you use the channelMessages
object, you must not specify a value for startTime
and endTime
.
sourcepub fn build(self) -> Result<StartPipelineReprocessingInput, BuildError>
pub fn build(self) -> Result<StartPipelineReprocessingInput, BuildError>
Consumes the builder and constructs a StartPipelineReprocessingInput
.
source§impl StartPipelineReprocessingInputBuilder
impl StartPipelineReprocessingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartPipelineReprocessingOutput, SdkError<StartPipelineReprocessingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartPipelineReprocessingOutput, SdkError<StartPipelineReprocessingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartPipelineReprocessingInputBuilder
impl Clone for StartPipelineReprocessingInputBuilder
source§fn clone(&self) -> StartPipelineReprocessingInputBuilder
fn clone(&self) -> StartPipelineReprocessingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartPipelineReprocessingInputBuilder
impl Default for StartPipelineReprocessingInputBuilder
source§fn default() -> StartPipelineReprocessingInputBuilder
fn default() -> StartPipelineReprocessingInputBuilder
source§impl PartialEq for StartPipelineReprocessingInputBuilder
impl PartialEq for StartPipelineReprocessingInputBuilder
source§fn eq(&self, other: &StartPipelineReprocessingInputBuilder) -> bool
fn eq(&self, other: &StartPipelineReprocessingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.