Struct aws_sdk_ec2::operation::modify_ipam_resource_discovery::builders::ModifyIpamResourceDiscoveryFluentBuilder
source · pub struct ModifyIpamResourceDiscoveryFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyIpamResourceDiscovery
.
Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
Implementations§
source§impl ModifyIpamResourceDiscoveryFluentBuilder
impl ModifyIpamResourceDiscoveryFluentBuilder
sourcepub fn as_input(&self) -> &ModifyIpamResourceDiscoveryInputBuilder
pub fn as_input(&self) -> &ModifyIpamResourceDiscoveryInputBuilder
Access the ModifyIpamResourceDiscovery as a reference.
sourcepub async fn send(
self
) -> Result<ModifyIpamResourceDiscoveryOutput, SdkError<ModifyIpamResourceDiscoveryError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyIpamResourceDiscoveryOutput, SdkError<ModifyIpamResourceDiscoveryError, 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<ModifyIpamResourceDiscoveryOutput, ModifyIpamResourceDiscoveryError>, SdkError<ModifyIpamResourceDiscoveryError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ModifyIpamResourceDiscoveryOutput, ModifyIpamResourceDiscoveryError>, SdkError<ModifyIpamResourceDiscoveryError>>
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 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.
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 AddOperatingRegions
.
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 RemoveOperatingRegions
.
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.
Trait Implementations§
source§impl Clone for ModifyIpamResourceDiscoveryFluentBuilder
impl Clone for ModifyIpamResourceDiscoveryFluentBuilder
source§fn clone(&self) -> ModifyIpamResourceDiscoveryFluentBuilder
fn clone(&self) -> ModifyIpamResourceDiscoveryFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more