#[non_exhaustive]pub struct StartInstancesInputBuilder { /* private fields */ }
Expand description
A builder for StartInstancesInput
.
Implementations§
source§impl StartInstancesInputBuilder
impl StartInstancesInputBuilder
sourcepub fn instance_ids(self, input: impl Into<String>) -> Self
pub fn instance_ids(self, input: impl Into<String>) -> Self
Appends an item to instance_ids
.
To override the contents of this collection use set_instance_ids
.
The IDs of the instances.
sourcepub fn set_instance_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the instances.
sourcepub fn get_instance_ids(&self) -> &Option<Vec<String>>
pub fn get_instance_ids(&self) -> &Option<Vec<String>>
The IDs of the instances.
sourcepub fn additional_info(self, input: impl Into<String>) -> Self
pub fn additional_info(self, input: impl Into<String>) -> Self
Reserved.
sourcepub fn set_additional_info(self, input: Option<String>) -> Self
pub fn set_additional_info(self, input: Option<String>) -> Self
Reserved.
sourcepub fn get_additional_info(&self) -> &Option<String>
pub fn get_additional_info(&self) -> &Option<String>
Reserved.
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 build(self) -> Result<StartInstancesInput, BuildError>
pub fn build(self) -> Result<StartInstancesInput, BuildError>
Consumes the builder and constructs a StartInstancesInput
.
source§impl StartInstancesInputBuilder
impl StartInstancesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartInstancesOutput, SdkError<StartInstancesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartInstancesOutput, SdkError<StartInstancesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartInstancesInputBuilder
impl Clone for StartInstancesInputBuilder
source§fn clone(&self) -> StartInstancesInputBuilder
fn clone(&self) -> StartInstancesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartInstancesInputBuilder
impl Debug for StartInstancesInputBuilder
source§impl Default for StartInstancesInputBuilder
impl Default for StartInstancesInputBuilder
source§fn default() -> StartInstancesInputBuilder
fn default() -> StartInstancesInputBuilder
source§impl PartialEq for StartInstancesInputBuilder
impl PartialEq for StartInstancesInputBuilder
source§fn eq(&self, other: &StartInstancesInputBuilder) -> bool
fn eq(&self, other: &StartInstancesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.