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.
This field is required.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 get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
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 get_ip_restriction_rule_map(&self) -> &Option<HashMap<String, String>>
pub fn get_ip_restriction_rule_map(&self) -> &Option<HashMap<String, String>>
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 get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
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.
source§impl UpdateIpRestrictionInputBuilder
impl UpdateIpRestrictionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateIpRestrictionOutput, SdkError<UpdateIpRestrictionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateIpRestrictionOutput, SdkError<UpdateIpRestrictionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateIpRestrictionInputBuilder
impl Clone for UpdateIpRestrictionInputBuilder
source§fn clone(&self) -> UpdateIpRestrictionInputBuilder
fn clone(&self) -> UpdateIpRestrictionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateIpRestrictionInputBuilder
impl Default for UpdateIpRestrictionInputBuilder
source§fn default() -> UpdateIpRestrictionInputBuilder
fn default() -> UpdateIpRestrictionInputBuilder
source§impl PartialEq for UpdateIpRestrictionInputBuilder
impl PartialEq for UpdateIpRestrictionInputBuilder
source§fn eq(&self, other: &UpdateIpRestrictionInputBuilder) -> bool
fn eq(&self, other: &UpdateIpRestrictionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.