#[non_exhaustive]pub struct ListResourceSetsOutputBuilder { /* private fields */ }
Expand description
A builder for ListResourceSetsOutput
.
Implementations§
source§impl ListResourceSetsOutputBuilder
impl ListResourceSetsOutputBuilder
sourcepub fn resource_sets(self, input: ResourceSetSummary) -> Self
pub fn resource_sets(self, input: ResourceSetSummary) -> Self
Appends an item to resource_sets
.
To override the contents of this collection use set_resource_sets
.
An array of ResourceSetSummary
objects.
sourcepub fn set_resource_sets(self, input: Option<Vec<ResourceSetSummary>>) -> Self
pub fn set_resource_sets(self, input: Option<Vec<ResourceSetSummary>>) -> Self
An array of ResourceSetSummary
objects.
sourcepub fn get_resource_sets(&self) -> &Option<Vec<ResourceSetSummary>>
pub fn get_resource_sets(&self) -> &Option<Vec<ResourceSetSummary>>
An array of ResourceSetSummary
objects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
sourcepub fn build(self) -> ListResourceSetsOutput
pub fn build(self) -> ListResourceSetsOutput
Consumes the builder and constructs a ListResourceSetsOutput
.
Trait Implementations§
source§impl Clone for ListResourceSetsOutputBuilder
impl Clone for ListResourceSetsOutputBuilder
source§fn clone(&self) -> ListResourceSetsOutputBuilder
fn clone(&self) -> ListResourceSetsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListResourceSetsOutputBuilder
impl Default for ListResourceSetsOutputBuilder
source§fn default() -> ListResourceSetsOutputBuilder
fn default() -> ListResourceSetsOutputBuilder
source§impl PartialEq for ListResourceSetsOutputBuilder
impl PartialEq for ListResourceSetsOutputBuilder
source§fn eq(&self, other: &ListResourceSetsOutputBuilder) -> bool
fn eq(&self, other: &ListResourceSetsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResourceSetsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListResourceSetsOutputBuilder
impl RefUnwindSafe for ListResourceSetsOutputBuilder
impl Send for ListResourceSetsOutputBuilder
impl Sync for ListResourceSetsOutputBuilder
impl Unpin for ListResourceSetsOutputBuilder
impl UnwindSafe for ListResourceSetsOutputBuilder
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
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>
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>
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 more