Struct aws_sdk_ec2::operation::modify_ipam_resource_cidr::builders::ModifyIpamResourceCidrInputBuilder
source · #[non_exhaustive]pub struct ModifyIpamResourceCidrInputBuilder { /* private fields */ }Expand description
A builder for ModifyIpamResourceCidrInput.
Implementations§
source§impl ModifyIpamResourceCidrInputBuilder
impl ModifyIpamResourceCidrInputBuilder
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 resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource you want to modify.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource you want to modify.
sourcepub fn resource_cidr(self, input: impl Into<String>) -> Self
pub fn resource_cidr(self, input: impl Into<String>) -> Self
The CIDR of the resource you want to modify.
sourcepub fn set_resource_cidr(self, input: Option<String>) -> Self
pub fn set_resource_cidr(self, input: Option<String>) -> Self
The CIDR of the resource you want to modify.
sourcepub fn resource_region(self, input: impl Into<String>) -> Self
pub fn resource_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region of the resource you want to modify.
sourcepub fn set_resource_region(self, input: Option<String>) -> Self
pub fn set_resource_region(self, input: Option<String>) -> Self
The Amazon Web Services Region of the resource you want to modify.
sourcepub fn current_ipam_scope_id(self, input: impl Into<String>) -> Self
pub fn current_ipam_scope_id(self, input: impl Into<String>) -> Self
The ID of the current scope that the resource CIDR is in.
sourcepub fn set_current_ipam_scope_id(self, input: Option<String>) -> Self
pub fn set_current_ipam_scope_id(self, input: Option<String>) -> Self
The ID of the current scope that the resource CIDR is in.
sourcepub fn destination_ipam_scope_id(self, input: impl Into<String>) -> Self
pub fn destination_ipam_scope_id(self, input: impl Into<String>) -> Self
The ID of the scope you want to transfer the resource CIDR to.
sourcepub fn set_destination_ipam_scope_id(self, input: Option<String>) -> Self
pub fn set_destination_ipam_scope_id(self, input: Option<String>) -> Self
The ID of the scope you want to transfer the resource CIDR to.
sourcepub fn monitored(self, input: bool) -> Self
pub fn monitored(self, input: bool) -> Self
Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.
sourcepub fn set_monitored(self, input: Option<bool>) -> Self
pub fn set_monitored(self, input: Option<bool>) -> Self
Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.
sourcepub fn build(self) -> Result<ModifyIpamResourceCidrInput, BuildError>
pub fn build(self) -> Result<ModifyIpamResourceCidrInput, BuildError>
Consumes the builder and constructs a ModifyIpamResourceCidrInput.
Trait Implementations§
source§impl Clone for ModifyIpamResourceCidrInputBuilder
impl Clone for ModifyIpamResourceCidrInputBuilder
source§fn clone(&self) -> ModifyIpamResourceCidrInputBuilder
fn clone(&self) -> ModifyIpamResourceCidrInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyIpamResourceCidrInputBuilder
impl Default for ModifyIpamResourceCidrInputBuilder
source§fn default() -> ModifyIpamResourceCidrInputBuilder
fn default() -> ModifyIpamResourceCidrInputBuilder
source§impl PartialEq<ModifyIpamResourceCidrInputBuilder> for ModifyIpamResourceCidrInputBuilder
impl PartialEq<ModifyIpamResourceCidrInputBuilder> for ModifyIpamResourceCidrInputBuilder
source§fn eq(&self, other: &ModifyIpamResourceCidrInputBuilder) -> bool
fn eq(&self, other: &ModifyIpamResourceCidrInputBuilder) -> bool
self and other values to be equal, and is used
by ==.