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 get_security_group_rules(&self) -> &Option<Vec<SecurityGroupRule>>
pub fn get_security_group_rules(&self) -> &Option<Vec<SecurityGroupRule>>
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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 for DescribeSecurityGroupRulesOutputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for DescribeSecurityGroupRulesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeSecurityGroupRulesOutputBuilder
impl RefUnwindSafe for DescribeSecurityGroupRulesOutputBuilder
impl Send for DescribeSecurityGroupRulesOutputBuilder
impl Sync for DescribeSecurityGroupRulesOutputBuilder
impl Unpin for DescribeSecurityGroupRulesOutputBuilder
impl UnwindSafe for DescribeSecurityGroupRulesOutputBuilder
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
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>
Creates a shared type from an unshared type.