Struct aws_sdk_ec2::operation::delete_ipam_resource_discovery::builders::DeleteIpamResourceDiscoveryInputBuilder
source · #[non_exhaustive]pub struct DeleteIpamResourceDiscoveryInputBuilder { /* private fields */ }Expand description
A builder for DeleteIpamResourceDiscoveryInput.
Implementations§
source§impl DeleteIpamResourceDiscoveryInputBuilder
impl DeleteIpamResourceDiscoveryInputBuilder
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
The IPAM 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
The IPAM resource discovery ID.
sourcepub fn get_ipam_resource_discovery_id(&self) -> &Option<String>
pub fn get_ipam_resource_discovery_id(&self) -> &Option<String>
The IPAM resource discovery ID.
sourcepub fn build(self) -> Result<DeleteIpamResourceDiscoveryInput, BuildError>
pub fn build(self) -> Result<DeleteIpamResourceDiscoveryInput, BuildError>
Consumes the builder and constructs a DeleteIpamResourceDiscoveryInput.
source§impl DeleteIpamResourceDiscoveryInputBuilder
impl DeleteIpamResourceDiscoveryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteIpamResourceDiscoveryOutput, SdkError<DeleteIpamResourceDiscoveryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteIpamResourceDiscoveryOutput, SdkError<DeleteIpamResourceDiscoveryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteIpamResourceDiscoveryInputBuilder
impl Clone for DeleteIpamResourceDiscoveryInputBuilder
source§fn clone(&self) -> DeleteIpamResourceDiscoveryInputBuilder
fn clone(&self) -> DeleteIpamResourceDiscoveryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteIpamResourceDiscoveryInputBuilder
impl Default for DeleteIpamResourceDiscoveryInputBuilder
source§fn default() -> DeleteIpamResourceDiscoveryInputBuilder
fn default() -> DeleteIpamResourceDiscoveryInputBuilder
source§impl PartialEq for DeleteIpamResourceDiscoveryInputBuilder
impl PartialEq for DeleteIpamResourceDiscoveryInputBuilder
source§fn eq(&self, other: &DeleteIpamResourceDiscoveryInputBuilder) -> bool
fn eq(&self, other: &DeleteIpamResourceDiscoveryInputBuilder) -> bool
self and other values to be equal, and is used
by ==.