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