Struct aws_sdk_cognitoidentityprovider::operation::list_resource_servers::builders::ListResourceServersOutputBuilder
source · #[non_exhaustive]pub struct ListResourceServersOutputBuilder { /* private fields */ }
Expand description
A builder for ListResourceServersOutput
.
Implementations§
source§impl ListResourceServersOutputBuilder
impl ListResourceServersOutputBuilder
sourcepub fn resource_servers(self, input: ResourceServerType) -> Self
pub fn resource_servers(self, input: ResourceServerType) -> Self
Appends an item to resource_servers
.
To override the contents of this collection use set_resource_servers
.
The resource servers.
sourcepub fn set_resource_servers(
self,
input: Option<Vec<ResourceServerType>>,
) -> Self
pub fn set_resource_servers( self, input: Option<Vec<ResourceServerType>>, ) -> Self
The resource servers.
sourcepub fn get_resource_servers(&self) -> &Option<Vec<ResourceServerType>>
pub fn get_resource_servers(&self) -> &Option<Vec<ResourceServerType>>
The resource servers.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token.
sourcepub fn build(self) -> Result<ListResourceServersOutput, BuildError>
pub fn build(self) -> Result<ListResourceServersOutput, BuildError>
Consumes the builder and constructs a ListResourceServersOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListResourceServersOutputBuilder
impl Clone for ListResourceServersOutputBuilder
source§fn clone(&self) -> ListResourceServersOutputBuilder
fn clone(&self) -> ListResourceServersOutputBuilder
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 ListResourceServersOutputBuilder
impl Default for ListResourceServersOutputBuilder
source§fn default() -> ListResourceServersOutputBuilder
fn default() -> ListResourceServersOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListResourceServersOutputBuilder
impl PartialEq for ListResourceServersOutputBuilder
source§fn eq(&self, other: &ListResourceServersOutputBuilder) -> bool
fn eq(&self, other: &ListResourceServersOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResourceServersOutputBuilder
Auto Trait Implementations§
impl Freeze for ListResourceServersOutputBuilder
impl RefUnwindSafe for ListResourceServersOutputBuilder
impl Send for ListResourceServersOutputBuilder
impl Sync for ListResourceServersOutputBuilder
impl Unpin for ListResourceServersOutputBuilder
impl UnwindSafe for ListResourceServersOutputBuilder
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.