Struct aws_sdk_cloudcontrol::operation::list_resources::builders::ListResourcesOutputBuilder
source · #[non_exhaustive]pub struct ListResourcesOutputBuilder { /* private fields */ }
Expand description
A builder for ListResourcesOutput
.
Implementations§
source§impl ListResourcesOutputBuilder
impl ListResourcesOutputBuilder
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The name of the resource type.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
The name of the resource type.
sourcepub fn resource_descriptions(self, input: ResourceDescription) -> Self
pub fn resource_descriptions(self, input: ResourceDescription) -> Self
Appends an item to resource_descriptions
.
To override the contents of this collection use set_resource_descriptions
.
Information about the specified resources, including primary identifier and resource model.
sourcepub fn set_resource_descriptions(
self,
input: Option<Vec<ResourceDescription>>
) -> Self
pub fn set_resource_descriptions( self, input: Option<Vec<ResourceDescription>> ) -> Self
Information about the specified resources, including primary identifier and resource model.
sourcepub fn get_resource_descriptions(&self) -> &Option<Vec<ResourceDescription>>
pub fn get_resource_descriptions(&self) -> &Option<Vec<ResourceDescription>>
Information about the specified resources, including primary identifier and resource model.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResources
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResources
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResources
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to null.
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 ==
.