Struct aws_sdk_ec2::operation::describe_security_group_rules::builders::DescribeSecurityGroupRulesOutputBuilder
source · #[non_exhaustive]pub struct DescribeSecurityGroupRulesOutputBuilder { /* private fields */ }Expand description
A builder for DescribeSecurityGroupRulesOutput.
Implementations§
source§impl DescribeSecurityGroupRulesOutputBuilder
impl DescribeSecurityGroupRulesOutputBuilder
sourcepub fn security_group_rules(self, input: SecurityGroupRule) -> Self
pub fn security_group_rules(self, input: SecurityGroupRule) -> Self
Appends an item to security_group_rules.
To override the contents of this collection use set_security_group_rules.
Information about security group rules.
sourcepub fn set_security_group_rules(
self,
input: Option<Vec<SecurityGroupRule>>
) -> Self
pub fn set_security_group_rules( self, input: Option<Vec<SecurityGroupRule>> ) -> Self
Information about security group rules.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
sourcepub fn build(self) -> DescribeSecurityGroupRulesOutput
pub fn build(self) -> DescribeSecurityGroupRulesOutput
Consumes the builder and constructs a DescribeSecurityGroupRulesOutput.
Trait Implementations§
source§impl Clone for DescribeSecurityGroupRulesOutputBuilder
impl Clone for DescribeSecurityGroupRulesOutputBuilder
source§fn clone(&self) -> DescribeSecurityGroupRulesOutputBuilder
fn clone(&self) -> DescribeSecurityGroupRulesOutputBuilder
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 DescribeSecurityGroupRulesOutputBuilder
impl Default for DescribeSecurityGroupRulesOutputBuilder
source§fn default() -> DescribeSecurityGroupRulesOutputBuilder
fn default() -> DescribeSecurityGroupRulesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeSecurityGroupRulesOutputBuilder> for DescribeSecurityGroupRulesOutputBuilder
impl PartialEq<DescribeSecurityGroupRulesOutputBuilder> for DescribeSecurityGroupRulesOutputBuilder
source§fn eq(&self, other: &DescribeSecurityGroupRulesOutputBuilder) -> bool
fn eq(&self, other: &DescribeSecurityGroupRulesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.