Struct aws_sdk_ec2::operation::modify_ipam::builders::ModifyIpamFluentBuilder
source · pub struct ModifyIpamFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyIpam
.
Modify the configurations of an IPAM.
Implementations§
source§impl ModifyIpamFluentBuilder
impl ModifyIpamFluentBuilder
sourcepub fn as_input(&self) -> &ModifyIpamInputBuilder
pub fn as_input(&self) -> &ModifyIpamInputBuilder
Access the ModifyIpam as a reference.
sourcepub async fn send(
self
) -> Result<ModifyIpamOutput, SdkError<ModifyIpamError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyIpamOutput, SdkError<ModifyIpamError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyIpamOutput, ModifyIpamError>, SdkError<ModifyIpamError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ModifyIpamOutput, ModifyIpamError>, SdkError<ModifyIpamError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 AddOperatingRegions
.
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 RemoveOperatingRegions
.
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.
Trait Implementations§
source§impl Clone for ModifyIpamFluentBuilder
impl Clone for ModifyIpamFluentBuilder
source§fn clone(&self) -> ModifyIpamFluentBuilder
fn clone(&self) -> ModifyIpamFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more