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 vpc_id_restriction_rule_map(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn vpc_id_restriction_rule_map( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to vpc_id_restriction_rule_map
.
To override the contents of this collection use set_vpc_id_restriction_rule_map
.
A map of allowed VPC IDs and their rule descriptions.
sourcepub fn set_vpc_id_restriction_rule_map(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_vpc_id_restriction_rule_map( self, input: Option<HashMap<String, String>> ) -> Self
A map of allowed VPC IDs and their rule descriptions.
sourcepub fn get_vpc_id_restriction_rule_map(
&self
) -> &Option<HashMap<String, String>>
pub fn get_vpc_id_restriction_rule_map( &self ) -> &Option<HashMap<String, String>>
A map of allowed VPC IDs and their rule descriptions.
sourcepub fn vpc_endpoint_id_restriction_rule_map(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn vpc_endpoint_id_restriction_rule_map( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to vpc_endpoint_id_restriction_rule_map
.
To override the contents of this collection use set_vpc_endpoint_id_restriction_rule_map
.
A map of allowed VPC endpoint IDs and their rule descriptions.
sourcepub fn set_vpc_endpoint_id_restriction_rule_map(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_vpc_endpoint_id_restriction_rule_map( self, input: Option<HashMap<String, String>> ) -> Self
A map of allowed VPC endpoint IDs and their rule descriptions.
sourcepub fn get_vpc_endpoint_id_restriction_rule_map(
&self
) -> &Option<HashMap<String, String>>
pub fn get_vpc_endpoint_id_restriction_rule_map( &self ) -> &Option<HashMap<String, String>>
A map of allowed VPC endpoint IDs and their rule 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 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 for DescribeIpRestrictionOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DescribeIpRestrictionOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeIpRestrictionOutputBuilder
impl RefUnwindSafe for DescribeIpRestrictionOutputBuilder
impl Send for DescribeIpRestrictionOutputBuilder
impl Sync for DescribeIpRestrictionOutputBuilder
impl Unpin for DescribeIpRestrictionOutputBuilder
impl UnwindSafe for DescribeIpRestrictionOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more