#[non_exhaustive]pub struct UpdatePipeSourceParametersBuilder { /* private fields */ }
Expand description
A builder for UpdatePipeSourceParameters
.
Implementations§
Source§impl UpdatePipeSourceParametersBuilder
impl UpdatePipeSourceParametersBuilder
Sourcepub fn filter_criteria(self, input: FilterCriteria) -> Self
pub fn filter_criteria(self, input: FilterCriteria) -> Self
The collection of event patterns used to filter events.
To remove a filter, specify a FilterCriteria
object with an empty array of Filter
objects.
For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
Sourcepub fn set_filter_criteria(self, input: Option<FilterCriteria>) -> Self
pub fn set_filter_criteria(self, input: Option<FilterCriteria>) -> Self
The collection of event patterns used to filter events.
To remove a filter, specify a FilterCriteria
object with an empty array of Filter
objects.
For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
Sourcepub fn get_filter_criteria(&self) -> &Option<FilterCriteria>
pub fn get_filter_criteria(&self) -> &Option<FilterCriteria>
The collection of event patterns used to filter events.
To remove a filter, specify a FilterCriteria
object with an empty array of Filter
objects.
For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
Sourcepub fn kinesis_stream_parameters(
self,
input: UpdatePipeSourceKinesisStreamParameters,
) -> Self
pub fn kinesis_stream_parameters( self, input: UpdatePipeSourceKinesisStreamParameters, ) -> Self
The parameters for using a Kinesis stream as a source.
Sourcepub fn set_kinesis_stream_parameters(
self,
input: Option<UpdatePipeSourceKinesisStreamParameters>,
) -> Self
pub fn set_kinesis_stream_parameters( self, input: Option<UpdatePipeSourceKinesisStreamParameters>, ) -> Self
The parameters for using a Kinesis stream as a source.
Sourcepub fn get_kinesis_stream_parameters(
&self,
) -> &Option<UpdatePipeSourceKinesisStreamParameters>
pub fn get_kinesis_stream_parameters( &self, ) -> &Option<UpdatePipeSourceKinesisStreamParameters>
The parameters for using a Kinesis stream as a source.
Sourcepub fn dynamo_db_stream_parameters(
self,
input: UpdatePipeSourceDynamoDbStreamParameters,
) -> Self
pub fn dynamo_db_stream_parameters( self, input: UpdatePipeSourceDynamoDbStreamParameters, ) -> Self
The parameters for using a DynamoDB stream as a source.
Sourcepub fn set_dynamo_db_stream_parameters(
self,
input: Option<UpdatePipeSourceDynamoDbStreamParameters>,
) -> Self
pub fn set_dynamo_db_stream_parameters( self, input: Option<UpdatePipeSourceDynamoDbStreamParameters>, ) -> Self
The parameters for using a DynamoDB stream as a source.
Sourcepub fn get_dynamo_db_stream_parameters(
&self,
) -> &Option<UpdatePipeSourceDynamoDbStreamParameters>
pub fn get_dynamo_db_stream_parameters( &self, ) -> &Option<UpdatePipeSourceDynamoDbStreamParameters>
The parameters for using a DynamoDB stream as a source.
Sourcepub fn sqs_queue_parameters(
self,
input: UpdatePipeSourceSqsQueueParameters,
) -> Self
pub fn sqs_queue_parameters( self, input: UpdatePipeSourceSqsQueueParameters, ) -> Self
The parameters for using a Amazon SQS stream as a source.
Sourcepub fn set_sqs_queue_parameters(
self,
input: Option<UpdatePipeSourceSqsQueueParameters>,
) -> Self
pub fn set_sqs_queue_parameters( self, input: Option<UpdatePipeSourceSqsQueueParameters>, ) -> Self
The parameters for using a Amazon SQS stream as a source.
Sourcepub fn get_sqs_queue_parameters(
&self,
) -> &Option<UpdatePipeSourceSqsQueueParameters>
pub fn get_sqs_queue_parameters( &self, ) -> &Option<UpdatePipeSourceSqsQueueParameters>
The parameters for using a Amazon SQS stream as a source.
Sourcepub fn active_mq_broker_parameters(
self,
input: UpdatePipeSourceActiveMqBrokerParameters,
) -> Self
pub fn active_mq_broker_parameters( self, input: UpdatePipeSourceActiveMqBrokerParameters, ) -> Self
The parameters for using an Active MQ broker as a source.
Sourcepub fn set_active_mq_broker_parameters(
self,
input: Option<UpdatePipeSourceActiveMqBrokerParameters>,
) -> Self
pub fn set_active_mq_broker_parameters( self, input: Option<UpdatePipeSourceActiveMqBrokerParameters>, ) -> Self
The parameters for using an Active MQ broker as a source.
Sourcepub fn get_active_mq_broker_parameters(
&self,
) -> &Option<UpdatePipeSourceActiveMqBrokerParameters>
pub fn get_active_mq_broker_parameters( &self, ) -> &Option<UpdatePipeSourceActiveMqBrokerParameters>
The parameters for using an Active MQ broker as a source.
Sourcepub fn rabbit_mq_broker_parameters(
self,
input: UpdatePipeSourceRabbitMqBrokerParameters,
) -> Self
pub fn rabbit_mq_broker_parameters( self, input: UpdatePipeSourceRabbitMqBrokerParameters, ) -> Self
The parameters for using a Rabbit MQ broker as a source.
Sourcepub fn set_rabbit_mq_broker_parameters(
self,
input: Option<UpdatePipeSourceRabbitMqBrokerParameters>,
) -> Self
pub fn set_rabbit_mq_broker_parameters( self, input: Option<UpdatePipeSourceRabbitMqBrokerParameters>, ) -> Self
The parameters for using a Rabbit MQ broker as a source.
Sourcepub fn get_rabbit_mq_broker_parameters(
&self,
) -> &Option<UpdatePipeSourceRabbitMqBrokerParameters>
pub fn get_rabbit_mq_broker_parameters( &self, ) -> &Option<UpdatePipeSourceRabbitMqBrokerParameters>
The parameters for using a Rabbit MQ broker as a source.
Sourcepub fn managed_streaming_kafka_parameters(
self,
input: UpdatePipeSourceManagedStreamingKafkaParameters,
) -> Self
pub fn managed_streaming_kafka_parameters( self, input: UpdatePipeSourceManagedStreamingKafkaParameters, ) -> Self
The parameters for using an MSK stream as a source.
Sourcepub fn set_managed_streaming_kafka_parameters(
self,
input: Option<UpdatePipeSourceManagedStreamingKafkaParameters>,
) -> Self
pub fn set_managed_streaming_kafka_parameters( self, input: Option<UpdatePipeSourceManagedStreamingKafkaParameters>, ) -> Self
The parameters for using an MSK stream as a source.
Sourcepub fn get_managed_streaming_kafka_parameters(
&self,
) -> &Option<UpdatePipeSourceManagedStreamingKafkaParameters>
pub fn get_managed_streaming_kafka_parameters( &self, ) -> &Option<UpdatePipeSourceManagedStreamingKafkaParameters>
The parameters for using an MSK stream as a source.
Sourcepub fn self_managed_kafka_parameters(
self,
input: UpdatePipeSourceSelfManagedKafkaParameters,
) -> Self
pub fn self_managed_kafka_parameters( self, input: UpdatePipeSourceSelfManagedKafkaParameters, ) -> Self
The parameters for using a self-managed Apache Kafka stream as a source.
A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon Web Services. This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud, CloudKarafka, or Redpanda. For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide.
Sourcepub fn set_self_managed_kafka_parameters(
self,
input: Option<UpdatePipeSourceSelfManagedKafkaParameters>,
) -> Self
pub fn set_self_managed_kafka_parameters( self, input: Option<UpdatePipeSourceSelfManagedKafkaParameters>, ) -> Self
The parameters for using a self-managed Apache Kafka stream as a source.
A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon Web Services. This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud, CloudKarafka, or Redpanda. For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide.
Sourcepub fn get_self_managed_kafka_parameters(
&self,
) -> &Option<UpdatePipeSourceSelfManagedKafkaParameters>
pub fn get_self_managed_kafka_parameters( &self, ) -> &Option<UpdatePipeSourceSelfManagedKafkaParameters>
The parameters for using a self-managed Apache Kafka stream as a source.
A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon Web Services. This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud, CloudKarafka, or Redpanda. For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide.
Sourcepub fn build(self) -> UpdatePipeSourceParameters
pub fn build(self) -> UpdatePipeSourceParameters
Consumes the builder and constructs a UpdatePipeSourceParameters
.
Trait Implementations§
Source§impl Clone for UpdatePipeSourceParametersBuilder
impl Clone for UpdatePipeSourceParametersBuilder
Source§fn clone(&self) -> UpdatePipeSourceParametersBuilder
fn clone(&self) -> UpdatePipeSourceParametersBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for UpdatePipeSourceParametersBuilder
impl Default for UpdatePipeSourceParametersBuilder
Source§fn default() -> UpdatePipeSourceParametersBuilder
fn default() -> UpdatePipeSourceParametersBuilder
Source§impl PartialEq for UpdatePipeSourceParametersBuilder
impl PartialEq for UpdatePipeSourceParametersBuilder
Source§fn eq(&self, other: &UpdatePipeSourceParametersBuilder) -> bool
fn eq(&self, other: &UpdatePipeSourceParametersBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdatePipeSourceParametersBuilder
Auto Trait Implementations§
impl Freeze for UpdatePipeSourceParametersBuilder
impl RefUnwindSafe for UpdatePipeSourceParametersBuilder
impl Send for UpdatePipeSourceParametersBuilder
impl Sync for UpdatePipeSourceParametersBuilder
impl Unpin for UpdatePipeSourceParametersBuilder
impl UnwindSafe for UpdatePipeSourceParametersBuilder
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§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 moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);