Struct aws_sdk_workmail::output::list_resources_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListResourcesOutput
.
Implementations§
source§impl Builder
impl Builder
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
.
One page of the organization's resource representation.
sourcepub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
pub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
One page of the organization's resource representation.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.
sourcepub fn build(self) -> ListResourcesOutput
pub fn build(self) -> ListResourcesOutput
Consumes the builder and constructs a ListResourcesOutput
.