Struct aws_sdk_grafana::model::role_values::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RoleValues
.
Implementations§
source§impl Builder
impl Builder
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
.