Struct aws_sdk_opensearch::operation::start_service_software_update::StartServiceSoftwareUpdateInput
source · #[non_exhaustive]pub struct StartServiceSoftwareUpdateInput {
pub domain_name: Option<String>,
pub schedule_at: Option<ScheduleAt>,
pub desired_start_time: Option<i64>,
}
Expand description
Container for the request parameters to the StartServiceSoftwareUpdate
operation.
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 that you want to update to the latest service software.
schedule_at: Option<ScheduleAt>
When to start the service software update.
-
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 update to be picked up during an upcoming off-peak window. There's no guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and TIMESTAMP
if you do.
desired_start_time: Option<i64>
The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set ScheduleAt
to TIMESTAMP
.
Implementations§
source§impl StartServiceSoftwareUpdateInput
impl StartServiceSoftwareUpdateInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain that you want to update to the latest service software.
sourcepub fn schedule_at(&self) -> Option<&ScheduleAt>
pub fn schedule_at(&self) -> Option<&ScheduleAt>
When to start the service software update.
-
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 update to be picked up during an upcoming off-peak window. There's no guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in subsequent days.
Default: NOW
if you don't specify a value for DesiredStartTime
, and TIMESTAMP
if you do.
sourcepub fn desired_start_time(&self) -> Option<i64>
pub fn desired_start_time(&self) -> Option<i64>
The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set ScheduleAt
to TIMESTAMP
.
source§impl StartServiceSoftwareUpdateInput
impl StartServiceSoftwareUpdateInput
sourcepub fn builder() -> StartServiceSoftwareUpdateInputBuilder
pub fn builder() -> StartServiceSoftwareUpdateInputBuilder
Creates a new builder-style object to manufacture StartServiceSoftwareUpdateInput
.
Trait Implementations§
source§impl Clone for StartServiceSoftwareUpdateInput
impl Clone for StartServiceSoftwareUpdateInput
source§fn clone(&self) -> StartServiceSoftwareUpdateInput
fn clone(&self) -> StartServiceSoftwareUpdateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for StartServiceSoftwareUpdateInput
impl PartialEq for StartServiceSoftwareUpdateInput
source§fn eq(&self, other: &StartServiceSoftwareUpdateInput) -> bool
fn eq(&self, other: &StartServiceSoftwareUpdateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartServiceSoftwareUpdateInput
Auto Trait Implementations§
impl Freeze for StartServiceSoftwareUpdateInput
impl RefUnwindSafe for StartServiceSoftwareUpdateInput
impl Send for StartServiceSoftwareUpdateInput
impl Sync for StartServiceSoftwareUpdateInput
impl Unpin for StartServiceSoftwareUpdateInput
impl UnwindSafe for StartServiceSoftwareUpdateInput
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