Struct aws_sdk_glue::model::condition::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Condition.
Implementations§
source§impl Builder
impl Builder
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.