Struct aws_sdk_datazone::operation::list_project_memberships::builders::ListProjectMembershipsOutputBuilder
source · #[non_exhaustive]pub struct ListProjectMembershipsOutputBuilder { /* private fields */ }
Expand description
A builder for ListProjectMembershipsOutput
.
Implementations§
source§impl ListProjectMembershipsOutputBuilder
impl ListProjectMembershipsOutputBuilder
sourcepub fn members(self, input: ProjectMember) -> Self
pub fn members(self, input: ProjectMember) -> Self
Appends an item to members
.
To override the contents of this collection use set_members
.
The members of the project.
sourcepub fn set_members(self, input: Option<Vec<ProjectMember>>) -> Self
pub fn set_members(self, input: Option<Vec<ProjectMember>>) -> Self
The members of the project.
sourcepub fn get_members(&self) -> &Option<Vec<ProjectMember>>
pub fn get_members(&self) -> &Option<Vec<ProjectMember>>
The members of the project.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When the number of memberships is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of memberships, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListProjectMemberships
to list the next set of memberships.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the number of memberships is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of memberships, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListProjectMemberships
to list the next set of memberships.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of memberships is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of memberships, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListProjectMemberships
to list the next set of memberships.
sourcepub fn build(self) -> ListProjectMembershipsOutput
pub fn build(self) -> ListProjectMembershipsOutput
Consumes the builder and constructs a ListProjectMembershipsOutput
.
Trait Implementations§
source§impl Clone for ListProjectMembershipsOutputBuilder
impl Clone for ListProjectMembershipsOutputBuilder
source§fn clone(&self) -> ListProjectMembershipsOutputBuilder
fn clone(&self) -> ListProjectMembershipsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListProjectMembershipsOutputBuilder
impl Default for ListProjectMembershipsOutputBuilder
source§fn default() -> ListProjectMembershipsOutputBuilder
fn default() -> ListProjectMembershipsOutputBuilder
source§impl PartialEq for ListProjectMembershipsOutputBuilder
impl PartialEq for ListProjectMembershipsOutputBuilder
source§fn eq(&self, other: &ListProjectMembershipsOutputBuilder) -> bool
fn eq(&self, other: &ListProjectMembershipsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.