Struct aws_sdk_ec2::operation::describe_internet_gateways::builders::DescribeInternetGatewaysOutputBuilder
source · #[non_exhaustive]pub struct DescribeInternetGatewaysOutputBuilder { /* private fields */ }Expand description
A builder for DescribeInternetGatewaysOutput.
Implementations§
source§impl DescribeInternetGatewaysOutputBuilder
impl DescribeInternetGatewaysOutputBuilder
sourcepub fn internet_gateways(self, input: InternetGateway) -> Self
pub fn internet_gateways(self, input: InternetGateway) -> Self
Appends an item to internet_gateways.
To override the contents of this collection use set_internet_gateways.
Information about one or more internet gateways.
sourcepub fn set_internet_gateways(self, input: Option<Vec<InternetGateway>>) -> Self
pub fn set_internet_gateways(self, input: Option<Vec<InternetGateway>>) -> Self
Information about one or more internet gateways.
sourcepub fn get_internet_gateways(&self) -> &Option<Vec<InternetGateway>>
pub fn get_internet_gateways(&self) -> &Option<Vec<InternetGateway>>
Information about one or more internet 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) -> DescribeInternetGatewaysOutput
pub fn build(self) -> DescribeInternetGatewaysOutput
Consumes the builder and constructs a DescribeInternetGatewaysOutput.
Trait Implementations§
source§impl Clone for DescribeInternetGatewaysOutputBuilder
impl Clone for DescribeInternetGatewaysOutputBuilder
source§fn clone(&self) -> DescribeInternetGatewaysOutputBuilder
fn clone(&self) -> DescribeInternetGatewaysOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeInternetGatewaysOutputBuilder
impl Default for DescribeInternetGatewaysOutputBuilder
source§fn default() -> DescribeInternetGatewaysOutputBuilder
fn default() -> DescribeInternetGatewaysOutputBuilder
source§impl PartialEq for DescribeInternetGatewaysOutputBuilder
impl PartialEq for DescribeInternetGatewaysOutputBuilder
source§fn eq(&self, other: &DescribeInternetGatewaysOutputBuilder) -> bool
fn eq(&self, other: &DescribeInternetGatewaysOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeInternetGatewaysOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeInternetGatewaysOutputBuilder
impl RefUnwindSafe for DescribeInternetGatewaysOutputBuilder
impl Send for DescribeInternetGatewaysOutputBuilder
impl Sync for DescribeInternetGatewaysOutputBuilder
impl Unpin for DescribeInternetGatewaysOutputBuilder
impl UnwindSafe for DescribeInternetGatewaysOutputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more