Struct aws_sdk_apigateway::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 current page of 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 current page of elements from this collection.
sourcepub fn get_items(&self) -> &Option<Vec<Deployment>>
pub fn get_items(&self) -> &Option<Vec<Deployment>>
The current page of elements from this collection.
sourcepub fn position(self, input: impl Into<String>) -> Self
pub fn position(self, input: impl Into<String>) -> Self
The current pagination position in the paged result set.
sourcepub fn set_position(self, input: Option<String>) -> Self
pub fn set_position(self, input: Option<String>) -> Self
The current pagination position in the paged result set.
sourcepub fn get_position(&self) -> &Option<String>
pub fn get_position(&self) -> &Option<String>
The current pagination position in the paged result set.
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.