Class CfnWorkspace.RoleValuesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.grafana.CfnWorkspace.RoleValuesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace.RoleValuesProperty>
- Enclosing interface:
- CfnWorkspace.RoleValuesProperty
@Stability(Stable)
public static final class CfnWorkspace.RoleValuesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace.RoleValuesProperty>
A builder for
CfnWorkspace.RoleValuesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWorkspace.RoleValuesProperty.getAdmin()build()Builds the configured instance.Sets the value ofCfnWorkspace.RoleValuesProperty.getEditor()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
admin
Sets the value ofCfnWorkspace.RoleValuesProperty.getAdmin()- Parameters:
admin- A list of groups from the SAML assertion attribute to grant the GrafanaAdminrole to.- Returns:
this
-
editor
Sets the value ofCfnWorkspace.RoleValuesProperty.getEditor()- Parameters:
editor- A list of groups from the SAML assertion attribute to grant the GrafanaEditorrole to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace.RoleValuesProperty>- Returns:
- a new instance of
CfnWorkspace.RoleValuesProperty - Throws:
NullPointerException- if any required attribute was not provided
-