Struct aws_sdk_ec2::operation::describe_carrier_gateways::builders::DescribeCarrierGatewaysOutputBuilder
source · #[non_exhaustive]pub struct DescribeCarrierGatewaysOutputBuilder { /* private fields */ }Expand description
A builder for DescribeCarrierGatewaysOutput.
Implementations§
source§impl DescribeCarrierGatewaysOutputBuilder
impl DescribeCarrierGatewaysOutputBuilder
sourcepub fn carrier_gateways(self, input: CarrierGateway) -> Self
pub fn carrier_gateways(self, input: CarrierGateway) -> Self
Appends an item to carrier_gateways.
To override the contents of this collection use set_carrier_gateways.
Information about the carrier gateway.
sourcepub fn set_carrier_gateways(self, input: Option<Vec<CarrierGateway>>) -> Self
pub fn set_carrier_gateways(self, input: Option<Vec<CarrierGateway>>) -> Self
Information about the carrier gateway.
sourcepub fn get_carrier_gateways(&self) -> &Option<Vec<CarrierGateway>>
pub fn get_carrier_gateways(&self) -> &Option<Vec<CarrierGateway>>
Information about the carrier gateway.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. This value is null when there are no more results 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 use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> DescribeCarrierGatewaysOutput
pub fn build(self) -> DescribeCarrierGatewaysOutput
Consumes the builder and constructs a DescribeCarrierGatewaysOutput.
Trait Implementations§
source§impl Clone for DescribeCarrierGatewaysOutputBuilder
impl Clone for DescribeCarrierGatewaysOutputBuilder
source§fn clone(&self) -> DescribeCarrierGatewaysOutputBuilder
fn clone(&self) -> DescribeCarrierGatewaysOutputBuilder
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 DescribeCarrierGatewaysOutputBuilder
impl Default for DescribeCarrierGatewaysOutputBuilder
source§fn default() -> DescribeCarrierGatewaysOutputBuilder
fn default() -> DescribeCarrierGatewaysOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeCarrierGatewaysOutputBuilder> for DescribeCarrierGatewaysOutputBuilder
impl PartialEq<DescribeCarrierGatewaysOutputBuilder> for DescribeCarrierGatewaysOutputBuilder
source§fn eq(&self, other: &DescribeCarrierGatewaysOutputBuilder) -> bool
fn eq(&self, other: &DescribeCarrierGatewaysOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeCarrierGatewaysOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeCarrierGatewaysOutputBuilder
impl Send for DescribeCarrierGatewaysOutputBuilder
impl Sync for DescribeCarrierGatewaysOutputBuilder
impl Unpin for DescribeCarrierGatewaysOutputBuilder
impl UnwindSafe for DescribeCarrierGatewaysOutputBuilder
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