#[non_exhaustive]pub struct CreateDefaultVpcInputBuilder { /* private fields */ }
Expand description
A builder for CreateDefaultVpcInput
.
Implementations§
source§impl CreateDefaultVpcInputBuilder
impl CreateDefaultVpcInputBuilder
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<CreateDefaultVpcInput, BuildError>
pub fn build(self) -> Result<CreateDefaultVpcInput, BuildError>
Consumes the builder and constructs a CreateDefaultVpcInput
.
source§impl CreateDefaultVpcInputBuilder
impl CreateDefaultVpcInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDefaultVpcOutput, SdkError<CreateDefaultVpcError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDefaultVpcOutput, SdkError<CreateDefaultVpcError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDefaultVpcInputBuilder
impl Clone for CreateDefaultVpcInputBuilder
source§fn clone(&self) -> CreateDefaultVpcInputBuilder
fn clone(&self) -> CreateDefaultVpcInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDefaultVpcInputBuilder
impl Debug for CreateDefaultVpcInputBuilder
source§impl Default for CreateDefaultVpcInputBuilder
impl Default for CreateDefaultVpcInputBuilder
source§fn default() -> CreateDefaultVpcInputBuilder
fn default() -> CreateDefaultVpcInputBuilder
source§impl PartialEq<CreateDefaultVpcInputBuilder> for CreateDefaultVpcInputBuilder
impl PartialEq<CreateDefaultVpcInputBuilder> for CreateDefaultVpcInputBuilder
source§fn eq(&self, other: &CreateDefaultVpcInputBuilder) -> bool
fn eq(&self, other: &CreateDefaultVpcInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.