#[non_exhaustive]pub struct ModifyIpamScopeInputBuilder { /* private fields */ }
Expand description
A builder for ModifyIpamScopeInput
.
Implementations§
source§impl ModifyIpamScopeInputBuilder
impl ModifyIpamScopeInputBuilder
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_scope_id(self, input: impl Into<String>) -> Self
pub fn ipam_scope_id(self, input: impl Into<String>) -> Self
The ID of the scope you want to modify.
sourcepub fn set_ipam_scope_id(self, input: Option<String>) -> Self
pub fn set_ipam_scope_id(self, input: Option<String>) -> Self
The ID of the scope you want to modify.
sourcepub fn get_ipam_scope_id(&self) -> &Option<String>
pub fn get_ipam_scope_id(&self) -> &Option<String>
The ID of the scope you want to modify.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the scope you want to modify.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the scope you want to modify.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the scope you want to modify.
sourcepub fn build(self) -> Result<ModifyIpamScopeInput, BuildError>
pub fn build(self) -> Result<ModifyIpamScopeInput, BuildError>
Consumes the builder and constructs a ModifyIpamScopeInput
.
source§impl ModifyIpamScopeInputBuilder
impl ModifyIpamScopeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyIpamScopeOutput, SdkError<ModifyIpamScopeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyIpamScopeOutput, SdkError<ModifyIpamScopeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyIpamScopeInputBuilder
impl Clone for ModifyIpamScopeInputBuilder
source§fn clone(&self) -> ModifyIpamScopeInputBuilder
fn clone(&self) -> ModifyIpamScopeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyIpamScopeInputBuilder
impl Debug for ModifyIpamScopeInputBuilder
source§impl Default for ModifyIpamScopeInputBuilder
impl Default for ModifyIpamScopeInputBuilder
source§fn default() -> ModifyIpamScopeInputBuilder
fn default() -> ModifyIpamScopeInputBuilder
source§impl PartialEq<ModifyIpamScopeInputBuilder> for ModifyIpamScopeInputBuilder
impl PartialEq<ModifyIpamScopeInputBuilder> for ModifyIpamScopeInputBuilder
source§fn eq(&self, other: &ModifyIpamScopeInputBuilder) -> bool
fn eq(&self, other: &ModifyIpamScopeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.