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
source§fn eq(&self, other: &RoleValuesBuilder) -> bool
fn eq(&self, other: &RoleValuesBuilder) -> bool
self and other values to be equal, and is used
by ==.