Struct aws_sdk_glue::types::builders::ConditionBuilder
source · #[non_exhaustive]pub struct ConditionBuilder { /* private fields */ }Expand description
A builder for Condition.
Implementations§
source§impl ConditionBuilder
impl ConditionBuilder
sourcepub fn logical_operator(self, input: LogicalOperator) -> Self
pub fn logical_operator(self, input: LogicalOperator) -> Self
A logical operator.
sourcepub fn set_logical_operator(self, input: Option<LogicalOperator>) -> Self
pub fn set_logical_operator(self, input: Option<LogicalOperator>) -> Self
A logical operator.
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
sourcepub fn state(self, input: JobRunState) -> Self
pub fn state(self, input: JobRunState) -> Self
The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.
sourcepub fn set_state(self, input: Option<JobRunState>) -> Self
pub fn set_state(self, input: Option<JobRunState>) -> Self
The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.
sourcepub fn crawler_name(self, input: impl Into<String>) -> Self
pub fn crawler_name(self, input: impl Into<String>) -> Self
The name of the crawler to which this condition applies.
sourcepub fn set_crawler_name(self, input: Option<String>) -> Self
pub fn set_crawler_name(self, input: Option<String>) -> Self
The name of the crawler to which this condition applies.
sourcepub fn crawl_state(self, input: CrawlState) -> Self
pub fn crawl_state(self, input: CrawlState) -> Self
The state of the crawler to which this condition applies.
sourcepub fn set_crawl_state(self, input: Option<CrawlState>) -> Self
pub fn set_crawl_state(self, input: Option<CrawlState>) -> Self
The state of the crawler to which this condition applies.
Trait Implementations§
source§impl Clone for ConditionBuilder
impl Clone for ConditionBuilder
source§fn clone(&self) -> ConditionBuilder
fn clone(&self) -> ConditionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConditionBuilder
impl Debug for ConditionBuilder
source§impl Default for ConditionBuilder
impl Default for ConditionBuilder
source§fn default() -> ConditionBuilder
fn default() -> ConditionBuilder
source§impl PartialEq<ConditionBuilder> for ConditionBuilder
impl PartialEq<ConditionBuilder> for ConditionBuilder
source§fn eq(&self, other: &ConditionBuilder) -> bool
fn eq(&self, other: &ConditionBuilder) -> bool
self and other values to be equal, and is used
by ==.