Class CfnPolicyGrant.GroupPolicyGrantPrincipalProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnPolicyGrant.GroupPolicyGrantPrincipalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyGrant.GroupPolicyGrantPrincipalProperty>
- Enclosing interface:
CfnPolicyGrant.GroupPolicyGrantPrincipalProperty
@Stability(Stable)
public static final class CfnPolicyGrant.GroupPolicyGrantPrincipalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyGrant.GroupPolicyGrantPrincipalProperty>
A builder for
CfnPolicyGrant.GroupPolicyGrantPrincipalProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.groupIdentifier
(String groupIdentifier) Sets the value ofCfnPolicyGrant.GroupPolicyGrantPrincipalProperty.getGroupIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupIdentifier
@Stability(Stable) public CfnPolicyGrant.GroupPolicyGrantPrincipalProperty.Builder groupIdentifier(String groupIdentifier) Sets the value ofCfnPolicyGrant.GroupPolicyGrantPrincipalProperty.getGroupIdentifier()
- Parameters:
groupIdentifier
- The ID Of the group of the group principal. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPolicyGrant.GroupPolicyGrantPrincipalProperty>
- Returns:
- a new instance of
CfnPolicyGrant.GroupPolicyGrantPrincipalProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-