Struct aws_sdk_ec2::operation::describe_security_groups::builders::DescribeSecurityGroupsOutputBuilder
source · #[non_exhaustive]pub struct DescribeSecurityGroupsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeSecurityGroupsOutput
.
Implementations§
source§impl DescribeSecurityGroupsOutputBuilder
impl DescribeSecurityGroupsOutputBuilder
sourcepub fn security_groups(self, input: SecurityGroup) -> Self
pub fn security_groups(self, input: SecurityGroup) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
Information about the security groups.
sourcepub fn set_security_groups(self, input: Option<Vec<SecurityGroup>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<SecurityGroup>>) -> Self
Information about the security groups.
sourcepub fn get_security_groups(&self) -> &Option<Vec<SecurityGroup>>
pub fn get_security_groups(&self) -> &Option<Vec<SecurityGroup>>
Information about the security groups.
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) -> DescribeSecurityGroupsOutput
pub fn build(self) -> DescribeSecurityGroupsOutput
Consumes the builder and constructs a DescribeSecurityGroupsOutput
.
Trait Implementations§
source§impl Clone for DescribeSecurityGroupsOutputBuilder
impl Clone for DescribeSecurityGroupsOutputBuilder
source§fn clone(&self) -> DescribeSecurityGroupsOutputBuilder
fn clone(&self) -> DescribeSecurityGroupsOutputBuilder
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 DescribeSecurityGroupsOutputBuilder
impl Default for DescribeSecurityGroupsOutputBuilder
source§fn default() -> DescribeSecurityGroupsOutputBuilder
fn default() -> DescribeSecurityGroupsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeSecurityGroupsOutputBuilder
impl PartialEq for DescribeSecurityGroupsOutputBuilder
source§fn eq(&self, other: &DescribeSecurityGroupsOutputBuilder) -> bool
fn eq(&self, other: &DescribeSecurityGroupsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeSecurityGroupsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeSecurityGroupsOutputBuilder
impl Send for DescribeSecurityGroupsOutputBuilder
impl Sync for DescribeSecurityGroupsOutputBuilder
impl Unpin for DescribeSecurityGroupsOutputBuilder
impl UnwindSafe for DescribeSecurityGroupsOutputBuilder
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.