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 fn customize(
self,
) -> CustomizableOperation<ModifyIpamOutput, ModifyIpamError, Self>
pub fn customize( self, ) -> CustomizableOperation<ModifyIpamOutput, ModifyIpamError, Self>
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.
sourcepub fn tier(self, input: IpamTier) -> Self
pub fn tier(self, input: IpamTier) -> Self
IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see Amazon VPC pricing > IPAM tab.
sourcepub fn set_tier(self, input: Option<IpamTier>) -> Self
pub fn set_tier(self, input: Option<IpamTier>) -> Self
IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see Amazon VPC pricing > IPAM tab.
sourcepub fn get_tier(&self) -> &Option<IpamTier>
pub fn get_tier(&self) -> &Option<IpamTier>
IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see Amazon VPC pricing > IPAM tab.
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 moreAuto Trait Implementations§
impl Freeze for ModifyIpamFluentBuilder
impl !RefUnwindSafe for ModifyIpamFluentBuilder
impl Send for ModifyIpamFluentBuilder
impl Sync for ModifyIpamFluentBuilder
impl Unpin for ModifyIpamFluentBuilder
impl !UnwindSafe for ModifyIpamFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more