Struct aws_sdk_ec2::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeInput
source · #[non_exhaustive]pub struct ModifyInstanceEventStartTimeInput {
pub dry_run: Option<bool>,
pub instance_id: Option<String>,
pub instance_event_id: Option<String>,
pub not_before: Option<DateTime>,
}
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.dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
instance_id: Option<String>
The ID of the instance with the scheduled event.
instance_event_id: Option<String>
The ID of the event whose date and time you are modifying.
not_before: Option<DateTime>
The new date and time when the event will take place.
Implementations§
source§impl ModifyInstanceEventStartTimeInput
impl ModifyInstanceEventStartTimeInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance with the scheduled event.
sourcepub fn instance_event_id(&self) -> Option<&str>
pub fn instance_event_id(&self) -> Option<&str>
The ID of the event whose date and time you are modifying.
sourcepub fn not_before(&self) -> Option<&DateTime>
pub fn not_before(&self) -> Option<&DateTime>
The new date and time when the event will take place.
source§impl ModifyInstanceEventStartTimeInput
impl ModifyInstanceEventStartTimeInput
sourcepub fn builder() -> ModifyInstanceEventStartTimeInputBuilder
pub fn builder() -> ModifyInstanceEventStartTimeInputBuilder
Creates a new builder-style object to manufacture ModifyInstanceEventStartTimeInput
.
Trait Implementations§
source§impl Clone for ModifyInstanceEventStartTimeInput
impl Clone for ModifyInstanceEventStartTimeInput
source§fn clone(&self) -> ModifyInstanceEventStartTimeInput
fn clone(&self) -> ModifyInstanceEventStartTimeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ModifyInstanceEventStartTimeInput> for ModifyInstanceEventStartTimeInput
impl PartialEq<ModifyInstanceEventStartTimeInput> for ModifyInstanceEventStartTimeInput
source§fn eq(&self, other: &ModifyInstanceEventStartTimeInput) -> bool
fn eq(&self, other: &ModifyInstanceEventStartTimeInput) -> bool
self
and other
values to be equal, and is used
by ==
.