Struct aws_sdk_ec2::input::modify_ipam_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ModifyIpamInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> Result<ModifyIpamInput, BuildError>
pub fn build(self) -> Result<ModifyIpamInput, BuildError>
Consumes the builder and constructs a ModifyIpamInput
.