Struct aws_sdk_ec2::operation::associate_ipam_resource_discovery::builders::AssociateIpamResourceDiscoveryInputBuilder
source · #[non_exhaustive]pub struct AssociateIpamResourceDiscoveryInputBuilder { /* private fields */ }Expand description
A builder for AssociateIpamResourceDiscoveryInput.
Implementations§
source§impl AssociateIpamResourceDiscoveryInputBuilder
impl AssociateIpamResourceDiscoveryInputBuilder
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
An IPAM ID.
sourcepub fn get_ipam_id(&self) -> &Option<String>
pub fn get_ipam_id(&self) -> &Option<String>
An IPAM ID.
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 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.
sourcepub fn set_tag_specifications(
self,
input: Option<Vec<TagSpecification>>
) -> Self
pub fn set_tag_specifications( self, input: Option<Vec<TagSpecification>> ) -> Self
Tag specifications.
sourcepub fn get_tag_specifications(&self) -> &Option<Vec<TagSpecification>>
pub fn get_tag_specifications(&self) -> &Option<Vec<TagSpecification>>
Tag specifications.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A client token.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A client token.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A client token.
sourcepub fn build(self) -> Result<AssociateIpamResourceDiscoveryInput, BuildError>
pub fn build(self) -> Result<AssociateIpamResourceDiscoveryInput, BuildError>
Consumes the builder and constructs a AssociateIpamResourceDiscoveryInput.
source§impl AssociateIpamResourceDiscoveryInputBuilder
impl AssociateIpamResourceDiscoveryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateIpamResourceDiscoveryOutput, SdkError<AssociateIpamResourceDiscoveryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateIpamResourceDiscoveryOutput, SdkError<AssociateIpamResourceDiscoveryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateIpamResourceDiscoveryInputBuilder
impl Clone for AssociateIpamResourceDiscoveryInputBuilder
source§fn clone(&self) -> AssociateIpamResourceDiscoveryInputBuilder
fn clone(&self) -> AssociateIpamResourceDiscoveryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AssociateIpamResourceDiscoveryInputBuilder
impl Default for AssociateIpamResourceDiscoveryInputBuilder
source§fn default() -> AssociateIpamResourceDiscoveryInputBuilder
fn default() -> AssociateIpamResourceDiscoveryInputBuilder
source§impl PartialEq<AssociateIpamResourceDiscoveryInputBuilder> for AssociateIpamResourceDiscoveryInputBuilder
impl PartialEq<AssociateIpamResourceDiscoveryInputBuilder> for AssociateIpamResourceDiscoveryInputBuilder
source§fn eq(&self, other: &AssociateIpamResourceDiscoveryInputBuilder) -> bool
fn eq(&self, other: &AssociateIpamResourceDiscoveryInputBuilder) -> bool
self and other values to be equal, and is used
by ==.