Struct aws_sdk_glue::types::Trigger
source · #[non_exhaustive]pub struct Trigger { /* private fields */ }Expand description
Information about a specific trigger.
Implementations§
source§impl Trigger
impl Trigger
sourcepub fn workflow_name(&self) -> Option<&str>
pub fn workflow_name(&self) -> Option<&str>
The name of the workflow associated with the trigger.
sourcepub fn type(&self) -> Option<&TriggerType>
pub fn type(&self) -> Option<&TriggerType>
The type of trigger that this is.
sourcepub fn state(&self) -> Option<&TriggerState>
pub fn state(&self) -> Option<&TriggerState>
The current state of the trigger.
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 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.
Trait Implementations§
source§impl PartialEq<Trigger> for Trigger
impl PartialEq<Trigger> for Trigger
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnwindSafe for Trigger
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
Mutably borrows from an owned value. Read more