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