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.
This field is required.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 for UpdateCrawlerScheduleInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for UpdateCrawlerScheduleInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateCrawlerScheduleInputBuilder
impl RefUnwindSafe for UpdateCrawlerScheduleInputBuilder
impl Send for UpdateCrawlerScheduleInputBuilder
impl Sync for UpdateCrawlerScheduleInputBuilder
impl Unpin for UpdateCrawlerScheduleInputBuilder
impl UnwindSafe for UpdateCrawlerScheduleInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more