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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<RoleValuesBuilder> for RoleValuesBuilder
impl PartialEq<RoleValuesBuilder> for RoleValuesBuilder
source§fn eq(&self, other: &RoleValuesBuilder) -> bool
fn eq(&self, other: &RoleValuesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RoleValuesBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more