Class CfnPolicyGrant.UserPolicyGrantPrincipalProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnPolicyGrant.UserPolicyGrantPrincipalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyGrant.UserPolicyGrantPrincipalProperty>
- Enclosing interface:
CfnPolicyGrant.UserPolicyGrantPrincipalProperty
@Stability(Stable)
public static final class CfnPolicyGrant.UserPolicyGrantPrincipalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyGrant.UserPolicyGrantPrincipalProperty>
A builder for
CfnPolicyGrant.UserPolicyGrantPrincipalProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallUsersGrantFilter
(Object allUsersGrantFilter) Sets the value ofCfnPolicyGrant.UserPolicyGrantPrincipalProperty.getAllUsersGrantFilter()
build()
Builds the configured instance.userIdentifier
(String userIdentifier) Sets the value ofCfnPolicyGrant.UserPolicyGrantPrincipalProperty.getUserIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allUsersGrantFilter
@Stability(Stable) public CfnPolicyGrant.UserPolicyGrantPrincipalProperty.Builder allUsersGrantFilter(Object allUsersGrantFilter) Sets the value ofCfnPolicyGrant.UserPolicyGrantPrincipalProperty.getAllUsersGrantFilter()
- Parameters:
allUsersGrantFilter
- The all users grant filter of the user policy grant principal.- Returns:
this
-
userIdentifier
@Stability(Stable) public CfnPolicyGrant.UserPolicyGrantPrincipalProperty.Builder userIdentifier(String userIdentifier) Sets the value ofCfnPolicyGrant.UserPolicyGrantPrincipalProperty.getUserIdentifier()
- Parameters:
userIdentifier
- The user ID of the user policy grant principal.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPolicyGrant.UserPolicyGrantPrincipalProperty>
- Returns:
- a new instance of
CfnPolicyGrant.UserPolicyGrantPrincipalProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-