Struct aws_sdk_grafana::types::builders::RoleValuesBuilder
source · #[non_exhaustive]pub struct RoleValuesBuilder { /* private fields */ }
Expand description
A builder for RoleValues
.
Implementations§
source§impl RoleValuesBuilder
impl RoleValuesBuilder
sourcepub fn editor(self, input: impl Into<String>) -> Self
pub fn editor(self, input: impl Into<String>) -> Self
Appends an item to editor
.
To override the contents of this collection use set_editor
.
A list of groups from the SAML assertion attribute to grant the Grafana Editor
role to.
sourcepub fn set_editor(self, input: Option<Vec<String>>) -> Self
pub fn set_editor(self, input: Option<Vec<String>>) -> Self
A list of groups from the SAML assertion attribute to grant the Grafana Editor
role to.
sourcepub fn get_editor(&self) -> &Option<Vec<String>>
pub fn get_editor(&self) -> &Option<Vec<String>>
A list of groups from the SAML assertion attribute to grant the Grafana Editor
role to.
sourcepub fn admin(self, input: impl Into<String>) -> Self
pub fn admin(self, input: impl Into<String>) -> Self
Appends an item to admin
.
To override the contents of this collection use set_admin
.
A list of groups from the SAML assertion attribute to grant the Grafana Admin
role to.
sourcepub fn set_admin(self, input: Option<Vec<String>>) -> Self
pub fn set_admin(self, input: Option<Vec<String>>) -> Self
A list of groups from the SAML assertion attribute to grant the Grafana Admin
role to.
sourcepub fn get_admin(&self) -> &Option<Vec<String>>
pub fn get_admin(&self) -> &Option<Vec<String>>
A list of groups from the SAML assertion attribute to grant the Grafana Admin
role to.
sourcepub fn build(self) -> RoleValues
pub fn build(self) -> RoleValues
Consumes the builder and constructs a RoleValues
.
Trait Implementations§
source§impl Clone for RoleValuesBuilder
impl Clone for RoleValuesBuilder
source§fn clone(&self) -> RoleValuesBuilder
fn clone(&self) -> RoleValuesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RoleValuesBuilder
impl Debug for RoleValuesBuilder
source§impl Default for RoleValuesBuilder
impl Default for RoleValuesBuilder
source§fn default() -> RoleValuesBuilder
fn default() -> RoleValuesBuilder
source§impl PartialEq for RoleValuesBuilder
impl PartialEq for RoleValuesBuilder
impl StructuralPartialEq for RoleValuesBuilder
Auto Trait Implementations§
impl Freeze for RoleValuesBuilder
impl RefUnwindSafe for RoleValuesBuilder
impl Send for RoleValuesBuilder
impl Sync for RoleValuesBuilder
impl Unpin for RoleValuesBuilder
impl UnwindSafe for RoleValuesBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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