Class CfnEntitlement.AttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnEntitlement.AttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntitlement.AttributeProperty>
- Enclosing interface:
CfnEntitlement.AttributeProperty
@Stability(Stable)
public static final class CfnEntitlement.AttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntitlement.AttributeProperty>
A builder for
CfnEntitlement.AttributeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEntitlement.AttributeProperty.getName()
Sets the value ofCfnEntitlement.AttributeProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnEntitlement.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. This parameter is required. The following are supported values:- roles
- department
- organization
- groups
- title
- costCenter
- userType
- Returns:
this
-
value
Sets the value ofCfnEntitlement.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. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEntitlement.AttributeProperty>
- Returns:
- a new instance of
CfnEntitlement.AttributeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-