Struct aws_sdk_ec2::operation::modify_ipam_resource_discovery::builders::ModifyIpamResourceDiscoveryInputBuilder
source · #[non_exhaustive]pub struct ModifyIpamResourceDiscoveryInputBuilder { /* private fields */ }
Expand description
A builder for ModifyIpamResourceDiscoveryInput
.
Implementations§
source§impl ModifyIpamResourceDiscoveryInputBuilder
impl ModifyIpamResourceDiscoveryInputBuilder
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 ipam_resource_discovery_id(self, input: impl Into<String>) -> Self
pub fn ipam_resource_discovery_id(self, input: impl Into<String>) -> Self
A resource discovery ID.
This field is required.sourcepub fn set_ipam_resource_discovery_id(self, input: Option<String>) -> Self
pub fn set_ipam_resource_discovery_id(self, input: Option<String>) -> Self
A resource discovery ID.
sourcepub fn get_ipam_resource_discovery_id(&self) -> &Option<String>
pub fn get_ipam_resource_discovery_id(&self) -> &Option<String>
A resource discovery ID.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A resource discovery description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A resource discovery description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A resource discovery description.
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
.
Add operating Regions to the resource discovery. 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.
sourcepub fn set_add_operating_regions(
self,
input: Option<Vec<AddIpamOperatingRegion>>
) -> Self
pub fn set_add_operating_regions( self, input: Option<Vec<AddIpamOperatingRegion>> ) -> Self
Add operating Regions to the resource discovery. 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.
sourcepub fn get_add_operating_regions(&self) -> &Option<Vec<AddIpamOperatingRegion>>
pub fn get_add_operating_regions(&self) -> &Option<Vec<AddIpamOperatingRegion>>
Add operating Regions to the resource discovery. 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.
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
.
Remove operating Regions.
sourcepub fn set_remove_operating_regions(
self,
input: Option<Vec<RemoveIpamOperatingRegion>>
) -> Self
pub fn set_remove_operating_regions( self, input: Option<Vec<RemoveIpamOperatingRegion>> ) -> Self
Remove operating Regions.
sourcepub fn get_remove_operating_regions(
&self
) -> &Option<Vec<RemoveIpamOperatingRegion>>
pub fn get_remove_operating_regions( &self ) -> &Option<Vec<RemoveIpamOperatingRegion>>
Remove operating Regions.
sourcepub fn build(self) -> Result<ModifyIpamResourceDiscoveryInput, BuildError>
pub fn build(self) -> Result<ModifyIpamResourceDiscoveryInput, BuildError>
Consumes the builder and constructs a ModifyIpamResourceDiscoveryInput
.
source§impl ModifyIpamResourceDiscoveryInputBuilder
impl ModifyIpamResourceDiscoveryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyIpamResourceDiscoveryOutput, SdkError<ModifyIpamResourceDiscoveryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyIpamResourceDiscoveryOutput, SdkError<ModifyIpamResourceDiscoveryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyIpamResourceDiscoveryInputBuilder
impl Clone for ModifyIpamResourceDiscoveryInputBuilder
source§fn clone(&self) -> ModifyIpamResourceDiscoveryInputBuilder
fn clone(&self) -> ModifyIpamResourceDiscoveryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyIpamResourceDiscoveryInputBuilder
impl Default for ModifyIpamResourceDiscoveryInputBuilder
source§fn default() -> ModifyIpamResourceDiscoveryInputBuilder
fn default() -> ModifyIpamResourceDiscoveryInputBuilder
source§impl PartialEq for ModifyIpamResourceDiscoveryInputBuilder
impl PartialEq for ModifyIpamResourceDiscoveryInputBuilder
source§fn eq(&self, other: &ModifyIpamResourceDiscoveryInputBuilder) -> bool
fn eq(&self, other: &ModifyIpamResourceDiscoveryInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.