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<GetDeploymentsOutputBuilder> for GetDeploymentsOutputBuilder
impl PartialEq<GetDeploymentsOutputBuilder> 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 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