Class CfnWorkspace.AssertionAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.grafana.CfnWorkspace.AssertionAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace.AssertionAttributesProperty>
- Enclosing interface:
CfnWorkspace.AssertionAttributesProperty
@Stability(Stable)
public static final class CfnWorkspace.AssertionAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace.AssertionAttributesProperty>
A builder for
CfnWorkspace.AssertionAttributesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspace.AssertionAttributesProperty.getEmail()Sets the value ofCfnWorkspace.AssertionAttributesProperty.getGroups()Sets the value ofCfnWorkspace.AssertionAttributesProperty.getLogin()Sets the value ofCfnWorkspace.AssertionAttributesProperty.getName()Sets the value ofCfnWorkspace.AssertionAttributesProperty.getOrg()Sets the value ofCfnWorkspace.AssertionAttributesProperty.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
email
Sets the value ofCfnWorkspace.AssertionAttributesProperty.getEmail()- Parameters:
email- The name of the attribute within the SAML assertion to use as the email names for SAML users.- Returns:
this
-
groups
Sets the value ofCfnWorkspace.AssertionAttributesProperty.getGroups()- Parameters:
groups- The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.- Returns:
this
-
login
Sets the value ofCfnWorkspace.AssertionAttributesProperty.getLogin()- Parameters:
login- The name of the attribute within the SAML assertion to use as the login names for SAML users.- Returns:
this
-
name
Sets the value ofCfnWorkspace.AssertionAttributesProperty.getName()- Parameters:
name- The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.- Returns:
this
-
org
Sets the value ofCfnWorkspace.AssertionAttributesProperty.getOrg()- Parameters:
org- The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.- Returns:
this
-
role
Sets the value ofCfnWorkspace.AssertionAttributesProperty.getRole()- Parameters:
role- The name of the attribute within the SAML assertion to use as the user roles.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace.AssertionAttributesProperty>- Returns:
- a new instance of
CfnWorkspace.AssertionAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-