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