Class CfnAssignmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.sso.CfnAssignmentProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnAssignmentProps>
- Enclosing interface:
- CfnAssignmentProps
@Stability(Stable)
public static final class CfnAssignmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssignmentProps>
A builder for 
CfnAssignmentProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceArn(String instanceArn) Sets the value ofCfnAssignmentProps.getInstanceArn()permissionSetArn(String permissionSetArn) Sets the value ofCfnAssignmentProps.getPermissionSetArn()principalId(String principalId) Sets the value ofCfnAssignmentProps.getPrincipalId()principalType(String principalType) Sets the value ofCfnAssignmentProps.getPrincipalType()Sets the value ofCfnAssignmentProps.getTargetId()targetType(String targetType) Sets the value ofCfnAssignmentProps.getTargetType()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
instanceArnSets the value ofCfnAssignmentProps.getInstanceArn()- Parameters:
- instanceArn- The ARN of the IAM Identity Center instance under which the operation will be executed. This parameter is required. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .
- Returns:
- this
 
- 
permissionSetArnSets the value ofCfnAssignmentProps.getPermissionSetArn()- Parameters:
- permissionSetArn- The ARN of the permission set. This parameter is required.
- Returns:
- this
 
- 
principalIdSets the value ofCfnAssignmentProps.getPrincipalId()- Parameters:
- principalId- An identifier for an object in IAM Identity Center, such as a user or group. This parameter is required. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference .
- Returns:
- this
 
- 
principalTypeSets the value ofCfnAssignmentProps.getPrincipalType()- Parameters:
- principalType- The entity type for which the assignment will be created. This parameter is required.
- Returns:
- this
 
- 
targetIdSets the value ofCfnAssignmentProps.getTargetId()- Parameters:
- targetId- TargetID is an AWS account identifier, (For example, 123456789012). This parameter is required.
- Returns:
- this
 
- 
targetTypeSets the value ofCfnAssignmentProps.getTargetType()- Parameters:
- targetType- The entity type for which the assignment will be created. This parameter is required.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnAssignmentProps>
- Returns:
- a new instance of CfnAssignmentProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-