Struct aws_sdk_ec2::operation::modify_availability_zone_group::builders::ModifyAvailabilityZoneGroupInputBuilder
source · #[non_exhaustive]pub struct ModifyAvailabilityZoneGroupInputBuilder { /* private fields */ }
Expand description
A builder for ModifyAvailabilityZoneGroupInput
.
Implementations§
source§impl ModifyAvailabilityZoneGroupInputBuilder
impl ModifyAvailabilityZoneGroupInputBuilder
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
sourcepub fn opt_in_status(self, input: ModifyAvailabilityZoneOptInStatus) -> Self
pub fn opt_in_status(self, input: ModifyAvailabilityZoneOptInStatus) -> Self
Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The only valid value is opted-in
. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.
sourcepub fn set_opt_in_status(
self,
input: Option<ModifyAvailabilityZoneOptInStatus>
) -> Self
pub fn set_opt_in_status( self, input: Option<ModifyAvailabilityZoneOptInStatus> ) -> Self
Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The only valid value is opted-in
. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.
sourcepub fn get_opt_in_status(&self) -> &Option<ModifyAvailabilityZoneOptInStatus>
pub fn get_opt_in_status(&self) -> &Option<ModifyAvailabilityZoneOptInStatus>
Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The only valid value is opted-in
. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.
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<ModifyAvailabilityZoneGroupInput, BuildError>
pub fn build(self) -> Result<ModifyAvailabilityZoneGroupInput, BuildError>
Consumes the builder and constructs a ModifyAvailabilityZoneGroupInput
.
source§impl ModifyAvailabilityZoneGroupInputBuilder
impl ModifyAvailabilityZoneGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyAvailabilityZoneGroupOutput, SdkError<ModifyAvailabilityZoneGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyAvailabilityZoneGroupOutput, SdkError<ModifyAvailabilityZoneGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyAvailabilityZoneGroupInputBuilder
impl Clone for ModifyAvailabilityZoneGroupInputBuilder
source§fn clone(&self) -> ModifyAvailabilityZoneGroupInputBuilder
fn clone(&self) -> ModifyAvailabilityZoneGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyAvailabilityZoneGroupInputBuilder
impl Default for ModifyAvailabilityZoneGroupInputBuilder
source§fn default() -> ModifyAvailabilityZoneGroupInputBuilder
fn default() -> ModifyAvailabilityZoneGroupInputBuilder
source§impl PartialEq<ModifyAvailabilityZoneGroupInputBuilder> for ModifyAvailabilityZoneGroupInputBuilder
impl PartialEq<ModifyAvailabilityZoneGroupInputBuilder> for ModifyAvailabilityZoneGroupInputBuilder
source§fn eq(&self, other: &ModifyAvailabilityZoneGroupInputBuilder) -> bool
fn eq(&self, other: &ModifyAvailabilityZoneGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.