Struct aws_sdk_glue::operation::update_crawler_schedule::builders::UpdateCrawlerScheduleInputBuilder
source · #[non_exhaustive]pub struct UpdateCrawlerScheduleInputBuilder { /* private fields */ }Expand description
A builder for UpdateCrawlerScheduleInput.
Implementations§
source§impl UpdateCrawlerScheduleInputBuilder
impl UpdateCrawlerScheduleInputBuilder
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 whose schedule to update.
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 whose schedule to update.
sourcepub fn get_crawler_name(&self) -> &Option<String>
pub fn get_crawler_name(&self) -> &Option<String>
The name of the crawler whose schedule to update.
sourcepub fn schedule(self, input: impl Into<String>) -> Self
pub fn schedule(self, input: impl Into<String>) -> Self
The updated 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 set_schedule(self, input: Option<String>) -> Self
pub fn set_schedule(self, input: Option<String>) -> Self
The updated 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 get_schedule(&self) -> &Option<String>
pub fn get_schedule(&self) -> &Option<String>
The updated 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 build(self) -> Result<UpdateCrawlerScheduleInput, BuildError>
pub fn build(self) -> Result<UpdateCrawlerScheduleInput, BuildError>
Consumes the builder and constructs a UpdateCrawlerScheduleInput.
source§impl UpdateCrawlerScheduleInputBuilder
impl UpdateCrawlerScheduleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateCrawlerScheduleOutput, SdkError<UpdateCrawlerScheduleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateCrawlerScheduleOutput, SdkError<UpdateCrawlerScheduleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateCrawlerScheduleInputBuilder
impl Clone for UpdateCrawlerScheduleInputBuilder
source§fn clone(&self) -> UpdateCrawlerScheduleInputBuilder
fn clone(&self) -> UpdateCrawlerScheduleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateCrawlerScheduleInputBuilder
impl Default for UpdateCrawlerScheduleInputBuilder
source§fn default() -> UpdateCrawlerScheduleInputBuilder
fn default() -> UpdateCrawlerScheduleInputBuilder
source§impl PartialEq<UpdateCrawlerScheduleInputBuilder> for UpdateCrawlerScheduleInputBuilder
impl PartialEq<UpdateCrawlerScheduleInputBuilder> for UpdateCrawlerScheduleInputBuilder
source§fn eq(&self, other: &UpdateCrawlerScheduleInputBuilder) -> bool
fn eq(&self, other: &UpdateCrawlerScheduleInputBuilder) -> bool
self and other values to be equal, and is used
by ==.