#[non_exhaustive]pub struct UpdateScheduledActionInput {
pub domain_name: Option<String>,
pub action_id: Option<String>,
pub action_type: Option<ActionType>,
pub schedule_at: Option<ScheduleAt>,
pub desired_start_time: Option<i64>,
}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.domain_name: Option<String>The name of the domain to reschedule an action for.
action_id: Option<String>The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request.
action_type: Option<ActionType>The type of action to reschedule. Can be one of SERVICE_SOFTWARE_UPDATE, JVM_HEAP_SIZE_TUNING, or JVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request.
schedule_at: Option<ScheduleAt>When to schedule the action.
-
NOW- Immediately schedules the update to happen in the current hour if there's capacity available. -
TIMESTAMP- Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value forDesiredStartTime. -
OFF_PEAK_WINDOW- Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days.
desired_start_time: Option<i64>The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you set ScheduleAt to TIMESTAMP.
Implementations§
source§impl UpdateScheduledActionInput
impl UpdateScheduledActionInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain to reschedule an action for.
sourcepub fn action_id(&self) -> Option<&str>
pub fn action_id(&self) -> Option<&str>
The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request.
sourcepub fn action_type(&self) -> Option<&ActionType>
pub fn action_type(&self) -> Option<&ActionType>
The type of action to reschedule. Can be one of SERVICE_SOFTWARE_UPDATE, JVM_HEAP_SIZE_TUNING, or JVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request.
sourcepub fn schedule_at(&self) -> Option<&ScheduleAt>
pub fn schedule_at(&self) -> Option<&ScheduleAt>
When to schedule the action.
-
NOW- Immediately schedules the update to happen in the current hour if there's capacity available. -
TIMESTAMP- Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value forDesiredStartTime. -
OFF_PEAK_WINDOW- Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days.
sourcepub fn desired_start_time(&self) -> Option<i64>
pub fn desired_start_time(&self) -> Option<i64>
The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you set ScheduleAt to TIMESTAMP.
source§impl UpdateScheduledActionInput
impl UpdateScheduledActionInput
sourcepub fn builder() -> UpdateScheduledActionInputBuilder
pub fn builder() -> UpdateScheduledActionInputBuilder
Creates a new builder-style object to manufacture UpdateScheduledActionInput.
Trait Implementations§
source§impl Clone for UpdateScheduledActionInput
impl Clone for UpdateScheduledActionInput
source§fn clone(&self) -> UpdateScheduledActionInput
fn clone(&self) -> UpdateScheduledActionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateScheduledActionInput
impl Debug for UpdateScheduledActionInput
source§impl PartialEq for UpdateScheduledActionInput
impl PartialEq for UpdateScheduledActionInput
source§fn eq(&self, other: &UpdateScheduledActionInput) -> bool
fn eq(&self, other: &UpdateScheduledActionInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateScheduledActionInput
Auto Trait Implementations§
impl Freeze for UpdateScheduledActionInput
impl RefUnwindSafe for UpdateScheduledActionInput
impl Send for UpdateScheduledActionInput
impl Sync for UpdateScheduledActionInput
impl Unpin for UpdateScheduledActionInput
impl UnwindSafe for UpdateScheduledActionInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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