Struct aws_sdk_quicksight::operation::update_ip_restriction::builders::UpdateIpRestrictionInputBuilder
source · #[non_exhaustive]pub struct UpdateIpRestrictionInputBuilder { /* private fields */ }Expand description
A builder for UpdateIpRestrictionInput.
Implementations§
source§impl UpdateIpRestrictionInputBuilder
impl UpdateIpRestrictionInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that contains the IP rules.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that contains the IP rules.
sourcepub fn ip_restriction_rule_map(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn ip_restriction_rule_map( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to ip_restriction_rule_map.
To override the contents of this collection use set_ip_restriction_rule_map.
A map that describes the updated IP rules with CIDR ranges and descriptions.
sourcepub fn set_ip_restriction_rule_map(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_ip_restriction_rule_map( self, input: Option<HashMap<String, String>> ) -> Self
A map that describes the updated IP rules with CIDR ranges and descriptions.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
A value that specifies whether IP rules are turned on.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
A value that specifies whether IP rules are turned on.
sourcepub fn build(self) -> Result<UpdateIpRestrictionInput, BuildError>
pub fn build(self) -> Result<UpdateIpRestrictionInput, BuildError>
Consumes the builder and constructs a UpdateIpRestrictionInput.
Trait Implementations§
source§impl Clone for UpdateIpRestrictionInputBuilder
impl Clone for UpdateIpRestrictionInputBuilder
source§fn clone(&self) -> UpdateIpRestrictionInputBuilder
fn clone(&self) -> UpdateIpRestrictionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for UpdateIpRestrictionInputBuilder
impl Default for UpdateIpRestrictionInputBuilder
source§fn default() -> UpdateIpRestrictionInputBuilder
fn default() -> UpdateIpRestrictionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateIpRestrictionInputBuilder> for UpdateIpRestrictionInputBuilder
impl PartialEq<UpdateIpRestrictionInputBuilder> for UpdateIpRestrictionInputBuilder
source§fn eq(&self, other: &UpdateIpRestrictionInputBuilder) -> bool
fn eq(&self, other: &UpdateIpRestrictionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateIpRestrictionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateIpRestrictionInputBuilder
impl Send for UpdateIpRestrictionInputBuilder
impl Sync for UpdateIpRestrictionInputBuilder
impl Unpin for UpdateIpRestrictionInputBuilder
impl UnwindSafe for UpdateIpRestrictionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more