Class CfnEntitlementPropsMixin.AttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appstream.CfnEntitlementPropsMixin.AttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntitlementPropsMixin.AttributeProperty>
- Enclosing interface:
CfnEntitlementPropsMixin.AttributeProperty
@Stability(Stable)
public static final class CfnEntitlementPropsMixin.AttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntitlementPropsMixin.AttributeProperty>
A builder for
CfnEntitlementPropsMixin.AttributeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEntitlementPropsMixin.AttributeProperty.getName()Sets the value ofCfnEntitlementPropsMixin.AttributeProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnEntitlementPropsMixin.AttributeProperty.getName()- Parameters:
name- A supported AWS IAM SAML PrincipalTag attribute that is matched to a value when a user identity federates to an AppStream 2.0 SAML application. The following are supported values:- roles
- department
- organization
- groups
- title
- costCenter
- userType
- Returns:
this
-
value
Sets the value ofCfnEntitlementPropsMixin.AttributeProperty.getValue()- Parameters:
value- A value that is matched to a supported SAML attribute name when a user identity federates to an AppStream 2.0 SAML application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntitlementPropsMixin.AttributeProperty>- Returns:
- a new instance of
CfnEntitlementPropsMixin.AttributeProperty - Throws:
NullPointerException- if any required attribute was not provided
-