Struct aws_sdk_ec2::operation::delete_instance_event_window::builders::DeleteInstanceEventWindowInputBuilder
source · #[non_exhaustive]pub struct DeleteInstanceEventWindowInputBuilder { /* private fields */ }
Expand description
A builder for DeleteInstanceEventWindowInput
.
Implementations§
source§impl DeleteInstanceEventWindowInputBuilder
impl DeleteInstanceEventWindowInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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 set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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 get_dry_run(&self) -> &Option<bool>
pub fn get_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 force_delete(self, input: bool) -> Self
pub fn force_delete(self, input: bool) -> Self
Specify true
to force delete the event window. Use the force delete parameter if the event window is currently associated with targets.
sourcepub fn set_force_delete(self, input: Option<bool>) -> Self
pub fn set_force_delete(self, input: Option<bool>) -> Self
Specify true
to force delete the event window. Use the force delete parameter if the event window is currently associated with targets.
sourcepub fn get_force_delete(&self) -> &Option<bool>
pub fn get_force_delete(&self) -> &Option<bool>
Specify true
to force delete the event window. Use the force delete parameter if the event window is currently associated with targets.
sourcepub fn instance_event_window_id(self, input: impl Into<String>) -> Self
pub fn instance_event_window_id(self, input: impl Into<String>) -> Self
The ID of the event window.
sourcepub fn set_instance_event_window_id(self, input: Option<String>) -> Self
pub fn set_instance_event_window_id(self, input: Option<String>) -> Self
The ID of the event window.
sourcepub fn get_instance_event_window_id(&self) -> &Option<String>
pub fn get_instance_event_window_id(&self) -> &Option<String>
The ID of the event window.
sourcepub fn build(self) -> Result<DeleteInstanceEventWindowInput, BuildError>
pub fn build(self) -> Result<DeleteInstanceEventWindowInput, BuildError>
Consumes the builder and constructs a DeleteInstanceEventWindowInput
.
source§impl DeleteInstanceEventWindowInputBuilder
impl DeleteInstanceEventWindowInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteInstanceEventWindowOutput, SdkError<DeleteInstanceEventWindowError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteInstanceEventWindowOutput, SdkError<DeleteInstanceEventWindowError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteInstanceEventWindowInputBuilder
impl Clone for DeleteInstanceEventWindowInputBuilder
source§fn clone(&self) -> DeleteInstanceEventWindowInputBuilder
fn clone(&self) -> DeleteInstanceEventWindowInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteInstanceEventWindowInputBuilder
impl Default for DeleteInstanceEventWindowInputBuilder
source§fn default() -> DeleteInstanceEventWindowInputBuilder
fn default() -> DeleteInstanceEventWindowInputBuilder
source§impl PartialEq<DeleteInstanceEventWindowInputBuilder> for DeleteInstanceEventWindowInputBuilder
impl PartialEq<DeleteInstanceEventWindowInputBuilder> for DeleteInstanceEventWindowInputBuilder
source§fn eq(&self, other: &DeleteInstanceEventWindowInputBuilder) -> bool
fn eq(&self, other: &DeleteInstanceEventWindowInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.