Struct aws_sdk_grafana::operation::list_workspace_service_accounts::builders::ListWorkspaceServiceAccountsOutputBuilder
source · #[non_exhaustive]pub struct ListWorkspaceServiceAccountsOutputBuilder { /* private fields */ }
Expand description
A builder for ListWorkspaceServiceAccountsOutput
.
Implementations§
source§impl ListWorkspaceServiceAccountsOutputBuilder
impl ListWorkspaceServiceAccountsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use when requesting the next set of service accounts.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use when requesting the next set of service accounts.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use when requesting the next set of service accounts.
sourcepub fn service_accounts(self, input: ServiceAccountSummary) -> Self
pub fn service_accounts(self, input: ServiceAccountSummary) -> Self
Appends an item to service_accounts
.
To override the contents of this collection use set_service_accounts
.
An array of structures containing information about the service accounts.
sourcepub fn set_service_accounts(
self,
input: Option<Vec<ServiceAccountSummary>>,
) -> Self
pub fn set_service_accounts( self, input: Option<Vec<ServiceAccountSummary>>, ) -> Self
An array of structures containing information about the service accounts.
sourcepub fn get_service_accounts(&self) -> &Option<Vec<ServiceAccountSummary>>
pub fn get_service_accounts(&self) -> &Option<Vec<ServiceAccountSummary>>
An array of structures containing information about the service accounts.
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The workspace to which the service accounts are associated.
This field is required.sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The workspace to which the service accounts are associated.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The workspace to which the service accounts are associated.
sourcepub fn build(self) -> Result<ListWorkspaceServiceAccountsOutput, BuildError>
pub fn build(self) -> Result<ListWorkspaceServiceAccountsOutput, BuildError>
Consumes the builder and constructs a ListWorkspaceServiceAccountsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListWorkspaceServiceAccountsOutputBuilder
impl Clone for ListWorkspaceServiceAccountsOutputBuilder
source§fn clone(&self) -> ListWorkspaceServiceAccountsOutputBuilder
fn clone(&self) -> ListWorkspaceServiceAccountsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListWorkspaceServiceAccountsOutputBuilder
impl Default for ListWorkspaceServiceAccountsOutputBuilder
source§fn default() -> ListWorkspaceServiceAccountsOutputBuilder
fn default() -> ListWorkspaceServiceAccountsOutputBuilder
source§impl PartialEq for ListWorkspaceServiceAccountsOutputBuilder
impl PartialEq for ListWorkspaceServiceAccountsOutputBuilder
source§fn eq(&self, other: &ListWorkspaceServiceAccountsOutputBuilder) -> bool
fn eq(&self, other: &ListWorkspaceServiceAccountsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListWorkspaceServiceAccountsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListWorkspaceServiceAccountsOutputBuilder
impl RefUnwindSafe for ListWorkspaceServiceAccountsOutputBuilder
impl Send for ListWorkspaceServiceAccountsOutputBuilder
impl Sync for ListWorkspaceServiceAccountsOutputBuilder
impl Unpin for ListWorkspaceServiceAccountsOutputBuilder
impl UnwindSafe for ListWorkspaceServiceAccountsOutputBuilder
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