#[non_exhaustive]pub struct ListResourcesOutputBuilder { /* private fields */ }Expand description
A builder for ListResourcesOutput.
Implementations§
source§impl ListResourcesOutputBuilder
impl ListResourcesOutputBuilder
sourcepub fn resources(self, input: Resource) -> Self
pub fn resources(self, input: Resource) -> Self
Appends an item to resources.
To override the contents of this collection use set_resources.
An array of objects that contain information about the resources.
sourcepub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
pub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
An array of objects that contain information about the resources.
sourcepub fn get_resources(&self) -> &Option<Vec<Resource>>
pub fn get_resources(&self) -> &Option<Vec<Resource>>
An array of objects that contain information about the resources.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
sourcepub fn build(self) -> ListResourcesOutput
pub fn build(self) -> ListResourcesOutput
Consumes the builder and constructs a ListResourcesOutput.
Trait Implementations§
source§impl Clone for ListResourcesOutputBuilder
impl Clone for ListResourcesOutputBuilder
source§fn clone(&self) -> ListResourcesOutputBuilder
fn clone(&self) -> ListResourcesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListResourcesOutputBuilder
impl Debug for ListResourcesOutputBuilder
source§impl Default for ListResourcesOutputBuilder
impl Default for ListResourcesOutputBuilder
source§fn default() -> ListResourcesOutputBuilder
fn default() -> ListResourcesOutputBuilder
source§impl PartialEq for ListResourcesOutputBuilder
impl PartialEq for ListResourcesOutputBuilder
source§fn eq(&self, other: &ListResourcesOutputBuilder) -> bool
fn eq(&self, other: &ListResourcesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.