Struct aws_sdk_ec2::operation::modify_ipam::builders::ModifyIpamInputBuilder
source · #[non_exhaustive]pub struct ModifyIpamInputBuilder { /* private fields */ }
Expand description
A builder for ModifyIpamInput
.
Implementations§
source§impl ModifyIpamInputBuilder
impl ModifyIpamInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
A check for 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
A check for 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>
A check for 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_ipam_id(self, input: Option<String>) -> Self
pub fn set_ipam_id(self, input: Option<String>) -> Self
The ID of the IPAM you want to modify.
sourcepub fn get_ipam_id(&self) -> &Option<String>
pub fn get_ipam_id(&self) -> &Option<String>
The ID of the IPAM you want to modify.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the IPAM you want to modify.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the IPAM you want to modify.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the IPAM you want to modify.
sourcepub fn add_operating_regions(self, input: AddIpamOperatingRegion) -> Self
pub fn add_operating_regions(self, input: AddIpamOperatingRegion) -> Self
Appends an item to add_operating_regions
.
To override the contents of this collection use set_add_operating_regions
.
Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
sourcepub fn set_add_operating_regions(
self,
input: Option<Vec<AddIpamOperatingRegion>>
) -> Self
pub fn set_add_operating_regions( self, input: Option<Vec<AddIpamOperatingRegion>> ) -> Self
Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
sourcepub fn get_add_operating_regions(&self) -> &Option<Vec<AddIpamOperatingRegion>>
pub fn get_add_operating_regions(&self) -> &Option<Vec<AddIpamOperatingRegion>>
Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
sourcepub fn remove_operating_regions(self, input: RemoveIpamOperatingRegion) -> Self
pub fn remove_operating_regions(self, input: RemoveIpamOperatingRegion) -> Self
Appends an item to remove_operating_regions
.
To override the contents of this collection use set_remove_operating_regions
.
The operating Regions to remove.
sourcepub fn set_remove_operating_regions(
self,
input: Option<Vec<RemoveIpamOperatingRegion>>
) -> Self
pub fn set_remove_operating_regions( self, input: Option<Vec<RemoveIpamOperatingRegion>> ) -> Self
The operating Regions to remove.
sourcepub fn get_remove_operating_regions(
&self
) -> &Option<Vec<RemoveIpamOperatingRegion>>
pub fn get_remove_operating_regions( &self ) -> &Option<Vec<RemoveIpamOperatingRegion>>
The operating Regions to remove.
sourcepub fn build(self) -> Result<ModifyIpamInput, BuildError>
pub fn build(self) -> Result<ModifyIpamInput, BuildError>
Consumes the builder and constructs a ModifyIpamInput
.
source§impl ModifyIpamInputBuilder
impl ModifyIpamInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyIpamOutput, SdkError<ModifyIpamError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyIpamOutput, SdkError<ModifyIpamError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyIpamInputBuilder
impl Clone for ModifyIpamInputBuilder
source§fn clone(&self) -> ModifyIpamInputBuilder
fn clone(&self) -> ModifyIpamInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyIpamInputBuilder
impl Debug for ModifyIpamInputBuilder
source§impl Default for ModifyIpamInputBuilder
impl Default for ModifyIpamInputBuilder
source§fn default() -> ModifyIpamInputBuilder
fn default() -> ModifyIpamInputBuilder
source§impl PartialEq<ModifyIpamInputBuilder> for ModifyIpamInputBuilder
impl PartialEq<ModifyIpamInputBuilder> for ModifyIpamInputBuilder
source§fn eq(&self, other: &ModifyIpamInputBuilder) -> bool
fn eq(&self, other: &ModifyIpamInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.