Struct aws_sdk_apigatewayv2::operation::get_deployments::builders::GetDeploymentsOutputBuilder
source · #[non_exhaustive]pub struct GetDeploymentsOutputBuilder { /* private fields */ }
Expand description
A builder for GetDeploymentsOutput
.
Implementations§
source§impl GetDeploymentsOutputBuilder
impl GetDeploymentsOutputBuilder
sourcepub fn items(self, input: Deployment) -> Self
pub fn items(self, input: Deployment) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The elements from this collection.
sourcepub fn set_items(self, input: Option<Vec<Deployment>>) -> Self
pub fn set_items(self, input: Option<Vec<Deployment>>) -> Self
The elements from this collection.
sourcepub fn get_items(&self) -> &Option<Vec<Deployment>>
pub fn get_items(&self) -> &Option<Vec<Deployment>>
The elements from this collection.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next page of elements from this collection. Not valid for the last element of the collection.
sourcepub fn build(self) -> GetDeploymentsOutput
pub fn build(self) -> GetDeploymentsOutput
Consumes the builder and constructs a GetDeploymentsOutput
.
Trait Implementations§
source§impl Clone for GetDeploymentsOutputBuilder
impl Clone for GetDeploymentsOutputBuilder
source§fn clone(&self) -> GetDeploymentsOutputBuilder
fn clone(&self) -> GetDeploymentsOutputBuilder
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 Debug for GetDeploymentsOutputBuilder
impl Debug for GetDeploymentsOutputBuilder
source§impl Default for GetDeploymentsOutputBuilder
impl Default for GetDeploymentsOutputBuilder
source§fn default() -> GetDeploymentsOutputBuilder
fn default() -> GetDeploymentsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDeploymentsOutputBuilder
impl PartialEq for GetDeploymentsOutputBuilder
source§fn eq(&self, other: &GetDeploymentsOutputBuilder) -> bool
fn eq(&self, other: &GetDeploymentsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDeploymentsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDeploymentsOutputBuilder
impl RefUnwindSafe for GetDeploymentsOutputBuilder
impl Send for GetDeploymentsOutputBuilder
impl Sync for GetDeploymentsOutputBuilder
impl Unpin for GetDeploymentsOutputBuilder
impl UnwindSafe for GetDeploymentsOutputBuilder
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
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>
Creates a shared type from an unshared type.