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 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) -> 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<DescribeSecurityGroupsOutputBuilder> for DescribeSecurityGroupsOutputBuilder
impl PartialEq<DescribeSecurityGroupsOutputBuilder> 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 ==.