Class CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.grafana.CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.AssertionAttributesProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.AssertionAttributesProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.AssertionAttributesProperty>
A builder for
CfnWorkspacePropsMixin.AssertionAttributesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspacePropsMixin.AssertionAttributesProperty.getEmail()Sets the value ofCfnWorkspacePropsMixin.AssertionAttributesProperty.getGroups()Sets the value ofCfnWorkspacePropsMixin.AssertionAttributesProperty.getLogin()Sets the value ofCfnWorkspacePropsMixin.AssertionAttributesProperty.getName()Sets the value ofCfnWorkspacePropsMixin.AssertionAttributesProperty.getOrg()Sets the value ofCfnWorkspacePropsMixin.AssertionAttributesProperty.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
email
@Stability(Stable) public CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder email(String email) Sets the value ofCfnWorkspacePropsMixin.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
@Stability(Stable) public CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder groups(String groups) Sets the value ofCfnWorkspacePropsMixin.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
@Stability(Stable) public CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder login(String login) Sets the value ofCfnWorkspacePropsMixin.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
@Stability(Stable) public CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder name(String name) Sets the value ofCfnWorkspacePropsMixin.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
@Stability(Stable) public CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder org(String org) Sets the value ofCfnWorkspacePropsMixin.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
@Stability(Stable) public CfnWorkspacePropsMixin.AssertionAttributesProperty.Builder role(String role) Sets the value ofCfnWorkspacePropsMixin.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<CfnWorkspacePropsMixin.AssertionAttributesProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.AssertionAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-