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