Class CfnAssignmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sso.CfnAssignmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssignmentMixinProps>
- Enclosing interface:
CfnAssignmentMixinProps
@Stability(Stable)
public static final class CfnAssignmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssignmentMixinProps>
A builder for
CfnAssignmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceArn(String instanceArn) Sets the value ofCfnAssignmentMixinProps.getInstanceArn()permissionSetArn(String permissionSetArn) Sets the value ofCfnAssignmentMixinProps.getPermissionSetArn()principalId(String principalId) Sets the value ofCfnAssignmentMixinProps.getPrincipalId()principalType(String principalType) Sets the value ofCfnAssignmentMixinProps.getPrincipalType()Sets the value ofCfnAssignmentMixinProps.getTargetId()targetType(String targetType) Sets the value ofCfnAssignmentMixinProps.getTargetType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnAssignmentMixinProps.getInstanceArn()- Parameters:
instanceArn- The ARN of the instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .- Returns:
this
-
permissionSetArn
Sets the value ofCfnAssignmentMixinProps.getPermissionSetArn()- Parameters:
permissionSetArn- The ARN of the permission set.- Returns:
this
-
principalId
Sets the value ofCfnAssignmentMixinProps.getPrincipalId()- Parameters:
principalId- An identifier for an object in IAM Identity Center, such as a user or group. 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
-
principalType
Sets the value ofCfnAssignmentMixinProps.getPrincipalType()- Parameters:
principalType- The entity type for which the assignment will be created.- Returns:
this
-
targetId
Sets the value ofCfnAssignmentMixinProps.getTargetId()- Parameters:
targetId- TargetID is an AWS account identifier, (For example, 123456789012).- Returns:
this
-
targetType
Sets the value ofCfnAssignmentMixinProps.getTargetType()- Parameters:
targetType- The entity type for which the assignment will be created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssignmentMixinProps>- Returns:
- a new instance of
CfnAssignmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-