Struct aws_sdk_quicksight::operation::describe_ip_restriction::builders::DescribeIpRestrictionOutputBuilder
source · #[non_exhaustive]pub struct DescribeIpRestrictionOutputBuilder { /* private fields */ }Expand description
A builder for DescribeIpRestrictionOutput.
Implementations§
source§impl DescribeIpRestrictionOutputBuilder
impl DescribeIpRestrictionOutputBuilder
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 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 IP rules with CIDR range and description.
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 IP rules with CIDR range and description.
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 IP rules with CIDR range and description.
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 request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
The Amazon Web Services request ID for this operation.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
The Amazon Web Services request ID for this operation.
sourcepub fn get_request_id(&self) -> &Option<String>
pub fn get_request_id(&self) -> &Option<String>
The Amazon Web Services request ID for this operation.
sourcepub fn set_status(self, input: Option<i32>) -> Self
pub fn set_status(self, input: Option<i32>) -> Self
The HTTP status of the request.
sourcepub fn get_status(&self) -> &Option<i32>
pub fn get_status(&self) -> &Option<i32>
The HTTP status of the request.
sourcepub fn build(self) -> DescribeIpRestrictionOutput
pub fn build(self) -> DescribeIpRestrictionOutput
Consumes the builder and constructs a DescribeIpRestrictionOutput.
Trait Implementations§
source§impl Clone for DescribeIpRestrictionOutputBuilder
impl Clone for DescribeIpRestrictionOutputBuilder
source§fn clone(&self) -> DescribeIpRestrictionOutputBuilder
fn clone(&self) -> DescribeIpRestrictionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeIpRestrictionOutputBuilder
impl Default for DescribeIpRestrictionOutputBuilder
source§fn default() -> DescribeIpRestrictionOutputBuilder
fn default() -> DescribeIpRestrictionOutputBuilder
source§impl PartialEq<DescribeIpRestrictionOutputBuilder> for DescribeIpRestrictionOutputBuilder
impl PartialEq<DescribeIpRestrictionOutputBuilder> for DescribeIpRestrictionOutputBuilder
source§fn eq(&self, other: &DescribeIpRestrictionOutputBuilder) -> bool
fn eq(&self, other: &DescribeIpRestrictionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.