@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoleValues extends Object implements Serializable, Cloneable, StructuredPojo
This structure defines which groups defined in the SAML assertion attribute are to be mapped to the Grafana
Admin and Editor roles in the workspace. SAML authenticated users not part of
Admin or Editor role groups have Viewer permission over the workspace.
| Constructor and Description |
|---|
RoleValues() |
| Modifier and Type | Method and Description |
|---|---|
RoleValues |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdmin()
A list of groups from the SAML assertion attribute to grant the Grafana
Admin role to. |
List<String> |
getEditor()
A list of groups from the SAML assertion attribute to grant the Grafana
Editor role to. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdmin(Collection<String> admin)
A list of groups from the SAML assertion attribute to grant the Grafana
Admin role to. |
void |
setEditor(Collection<String> editor)
A list of groups from the SAML assertion attribute to grant the Grafana
Editor role to. |
String |
toString()
Returns a string representation of this object.
|
RoleValues |
withAdmin(Collection<String> admin)
A list of groups from the SAML assertion attribute to grant the Grafana
Admin role to. |
RoleValues |
withAdmin(String... admin)
A list of groups from the SAML assertion attribute to grant the Grafana
Admin role to. |
RoleValues |
withEditor(Collection<String> editor)
A list of groups from the SAML assertion attribute to grant the Grafana
Editor role to. |
RoleValues |
withEditor(String... editor)
A list of groups from the SAML assertion attribute to grant the Grafana
Editor role to. |
public List<String> getAdmin()
A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.
Admin role to.public void setAdmin(Collection<String> admin)
A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.
admin - A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.public RoleValues withAdmin(String... admin)
A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.
NOTE: This method appends the values to the existing list (if any). Use
setAdmin(java.util.Collection) or withAdmin(java.util.Collection) if you want to override the
existing values.
admin - A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.public RoleValues withAdmin(Collection<String> admin)
A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.
admin - A list of groups from the SAML assertion attribute to grant the Grafana Admin role to.public List<String> getEditor()
A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.
Editor role to.public void setEditor(Collection<String> editor)
A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.
editor - A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.public RoleValues withEditor(String... editor)
A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.
NOTE: This method appends the values to the existing list (if any). Use
setEditor(java.util.Collection) or withEditor(java.util.Collection) if you want to override the
existing values.
editor - A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.public RoleValues withEditor(Collection<String> editor)
A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.
editor - A list of groups from the SAML assertion attribute to grant the Grafana Editor role to.public String toString()
toString in class ObjectObject.toString()public RoleValues clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.