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