Struct aws_sdk_ec2::operation::create_ipam_resource_discovery::builders::CreateIpamResourceDiscoveryInputBuilder
source · #[non_exhaustive]pub struct CreateIpamResourceDiscoveryInputBuilder { /* private fields */ }
Expand description
A builder for CreateIpamResourceDiscoveryInput
.
Implementations§
source§impl CreateIpamResourceDiscoveryInputBuilder
impl CreateIpamResourceDiscoveryInputBuilder
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the IPAM resource discovery.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the IPAM resource discovery.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the IPAM resource discovery.
sourcepub fn operating_regions(self, input: AddIpamOperatingRegion) -> Self
pub fn operating_regions(self, input: AddIpamOperatingRegion) -> Self
Appends an item to operating_regions
.
To override the contents of this collection use set_operating_regions
.
Operating Regions for the IPAM 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_operating_regions(
self,
input: Option<Vec<AddIpamOperatingRegion>>
) -> Self
pub fn set_operating_regions( self, input: Option<Vec<AddIpamOperatingRegion>> ) -> Self
Operating Regions for the IPAM 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_operating_regions(&self) -> &Option<Vec<AddIpamOperatingRegion>>
pub fn get_operating_regions(&self) -> &Option<Vec<AddIpamOperatingRegion>>
Operating Regions for the IPAM 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 tag_specifications(self, input: TagSpecification) -> Self
pub fn tag_specifications(self, input: TagSpecification) -> Self
Appends an item to tag_specifications
.
To override the contents of this collection use set_tag_specifications
.
Tag specifications for the IPAM resource discovery.
sourcepub fn set_tag_specifications(
self,
input: Option<Vec<TagSpecification>>
) -> Self
pub fn set_tag_specifications( self, input: Option<Vec<TagSpecification>> ) -> Self
Tag specifications for the IPAM resource discovery.
sourcepub fn get_tag_specifications(&self) -> &Option<Vec<TagSpecification>>
pub fn get_tag_specifications(&self) -> &Option<Vec<TagSpecification>>
Tag specifications for the IPAM resource discovery.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A client token for the IPAM resource discovery.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A client token for the IPAM resource discovery.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A client token for the IPAM resource discovery.
sourcepub fn build(self) -> Result<CreateIpamResourceDiscoveryInput, BuildError>
pub fn build(self) -> Result<CreateIpamResourceDiscoveryInput, BuildError>
Consumes the builder and constructs a CreateIpamResourceDiscoveryInput
.
source§impl CreateIpamResourceDiscoveryInputBuilder
impl CreateIpamResourceDiscoveryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateIpamResourceDiscoveryOutput, SdkError<CreateIpamResourceDiscoveryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateIpamResourceDiscoveryOutput, SdkError<CreateIpamResourceDiscoveryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateIpamResourceDiscoveryInputBuilder
impl Clone for CreateIpamResourceDiscoveryInputBuilder
source§fn clone(&self) -> CreateIpamResourceDiscoveryInputBuilder
fn clone(&self) -> CreateIpamResourceDiscoveryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateIpamResourceDiscoveryInputBuilder
impl Default for CreateIpamResourceDiscoveryInputBuilder
source§fn default() -> CreateIpamResourceDiscoveryInputBuilder
fn default() -> CreateIpamResourceDiscoveryInputBuilder
source§impl PartialEq for CreateIpamResourceDiscoveryInputBuilder
impl PartialEq for CreateIpamResourceDiscoveryInputBuilder
source§fn eq(&self, other: &CreateIpamResourceDiscoveryInputBuilder) -> bool
fn eq(&self, other: &CreateIpamResourceDiscoveryInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.