#[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 ==.