Struct aws_sdk_glue::types::TriggerUpdate
source · #[non_exhaustive]pub struct TriggerUpdate {
pub name: Option<String>,
pub description: Option<String>,
pub schedule: Option<String>,
pub actions: Option<Vec<Action>>,
pub predicate: Option<Predicate>,
pub event_batching_condition: Option<EventBatchingCondition>,
}
Expand description
A structure used to provide information used to update a trigger. This object updates the previous trigger definition by overwriting it completely.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
Reserved for future use.
description: Option<String>
A description of this trigger.
schedule: Option<String>
A cron
expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
actions: Option<Vec<Action>>
The actions initiated by this trigger.
predicate: Option<Predicate>
The predicate of this trigger, which defines when it will fire.
event_batching_condition: Option<EventBatchingCondition>
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
Implementations§
source§impl TriggerUpdate
impl TriggerUpdate
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of this trigger.
sourcepub fn schedule(&self) -> Option<&str>
pub fn schedule(&self) -> Option<&str>
A cron
expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *)
.
sourcepub fn actions(&self) -> &[Action]
pub fn actions(&self) -> &[Action]
The actions initiated by this trigger.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .actions.is_none()
.
sourcepub fn predicate(&self) -> Option<&Predicate>
pub fn predicate(&self) -> Option<&Predicate>
The predicate of this trigger, which defines when it will fire.
sourcepub fn event_batching_condition(&self) -> Option<&EventBatchingCondition>
pub fn event_batching_condition(&self) -> Option<&EventBatchingCondition>
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
source§impl TriggerUpdate
impl TriggerUpdate
sourcepub fn builder() -> TriggerUpdateBuilder
pub fn builder() -> TriggerUpdateBuilder
Creates a new builder-style object to manufacture TriggerUpdate
.
Trait Implementations§
source§impl Clone for TriggerUpdate
impl Clone for TriggerUpdate
source§fn clone(&self) -> TriggerUpdate
fn clone(&self) -> TriggerUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TriggerUpdate
impl Debug for TriggerUpdate
source§impl PartialEq for TriggerUpdate
impl PartialEq for TriggerUpdate
source§fn eq(&self, other: &TriggerUpdate) -> bool
fn eq(&self, other: &TriggerUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TriggerUpdate
Auto Trait Implementations§
impl Freeze for TriggerUpdate
impl RefUnwindSafe for TriggerUpdate
impl Send for TriggerUpdate
impl Sync for TriggerUpdate
impl Unpin for TriggerUpdate
impl UnwindSafe for TriggerUpdate
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