Struct aws_sdk_databrew::types::Schedule
source · #[non_exhaustive]pub struct Schedule {
pub account_id: Option<String>,
pub created_by: Option<String>,
pub create_date: Option<DateTime>,
pub job_names: Option<Vec<String>>,
pub last_modified_by: Option<String>,
pub last_modified_date: Option<DateTime>,
pub resource_arn: Option<String>,
pub cron_expression: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub name: String,
}Expand description
Represents one or more dates and times when a job is to run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.account_id: Option<String>The ID of the Amazon Web Services account that owns the schedule.
created_by: Option<String>The Amazon Resource Name (ARN) of the user who created the schedule.
create_date: Option<DateTime>The date and time that the schedule was created.
job_names: Option<Vec<String>>A list of jobs to be run, according to the schedule.
last_modified_by: Option<String>The Amazon Resource Name (ARN) of the user who last modified the schedule.
last_modified_date: Option<DateTime>The date and time when the schedule was last modified.
resource_arn: Option<String>The Amazon Resource Name (ARN) of the schedule.
cron_expression: Option<String>The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
Metadata tags that have been applied to the schedule.
name: StringThe name of the schedule.
Implementations§
source§impl Schedule
impl Schedule
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the schedule.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the user who created the schedule.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The date and time that the schedule was created.
sourcepub fn job_names(&self) -> &[String]
pub fn job_names(&self) -> &[String]
A list of jobs to be run, according to the schedule.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .job_names.is_none().
sourcepub fn last_modified_by(&self) -> Option<&str>
pub fn last_modified_by(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the user who last modified the schedule.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The date and time when the schedule was last modified.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the schedule.
sourcepub fn cron_expression(&self) -> Option<&str>
pub fn cron_expression(&self) -> Option<&str>
The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
Metadata tags that have been applied to the schedule.
Trait Implementations§
source§impl PartialEq for Schedule
impl PartialEq for Schedule
impl StructuralPartialEq for Schedule
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnwindSafe for Schedule
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