Class CfnPermissionSet.CustomerManagedPolicyReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sso.CfnPermissionSet.CustomerManagedPolicyReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionSet.CustomerManagedPolicyReferenceProperty>
- Enclosing interface:
- CfnPermissionSet.CustomerManagedPolicyReferenceProperty
@Stability(Stable)
public static final class CfnPermissionSet.CustomerManagedPolicyReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissionSet.CustomerManagedPolicyReferenceProperty>
A builder for
CfnPermissionSet.CustomerManagedPolicyReferenceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPermissionSet.CustomerManagedPolicyReferenceProperty.getName()
Sets the value ofCfnPermissionSet.CustomerManagedPolicyReferenceProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnPermissionSet.CustomerManagedPolicyReferenceProperty.Builder name(String name) Sets the value ofCfnPermissionSet.CustomerManagedPolicyReferenceProperty.getName()
- Parameters:
name
- The name of the IAM policy that you have configured in each account where you want to deploy your permission set. This parameter is required.- Returns:
this
-
path
@Stability(Stable) public CfnPermissionSet.CustomerManagedPolicyReferenceProperty.Builder path(String path) Sets the value ofCfnPermissionSet.CustomerManagedPolicyReferenceProperty.getPath()
- Parameters:
path
- The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is/
. For more information, see Friendly names and paths in the IAM User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPermissionSet.CustomerManagedPolicyReferenceProperty>
- Returns:
- a new instance of
CfnPermissionSet.CustomerManagedPolicyReferenceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-