Class AssignmentReference.Builder
java.lang.Object
software.amazon.awscdk.services.sso.AssignmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssignmentReference>
- Enclosing interface:
AssignmentReference
@Stability(Stable)
public static final class AssignmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<AssignmentReference>
A builder for
AssignmentReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.instanceArn
(String instanceArn) Sets the value ofAssignmentReference.getInstanceArn()
permissionSetArn
(String permissionSetArn) Sets the value ofAssignmentReference.getPermissionSetArn()
principalId
(String principalId) Sets the value ofAssignmentReference.getPrincipalId()
principalType
(String principalType) Sets the value ofAssignmentReference.getPrincipalType()
Sets the value ofAssignmentReference.getTargetId()
targetType
(String targetType) Sets the value ofAssignmentReference.getTargetType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofAssignmentReference.getInstanceArn()
- Parameters:
instanceArn
- The InstanceArn of the Assignment resource. This parameter is required.- Returns:
this
-
permissionSetArn
Sets the value ofAssignmentReference.getPermissionSetArn()
- Parameters:
permissionSetArn
- The PermissionSetArn of the Assignment resource. This parameter is required.- Returns:
this
-
principalId
Sets the value ofAssignmentReference.getPrincipalId()
- Parameters:
principalId
- The PrincipalId of the Assignment resource. This parameter is required.- Returns:
this
-
principalType
Sets the value ofAssignmentReference.getPrincipalType()
- Parameters:
principalType
- The PrincipalType of the Assignment resource. This parameter is required.- Returns:
this
-
targetId
Sets the value ofAssignmentReference.getTargetId()
- Parameters:
targetId
- The TargetId of the Assignment resource. This parameter is required.- Returns:
this
-
targetType
Sets the value ofAssignmentReference.getTargetType()
- Parameters:
targetType
- The TargetType of the Assignment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssignmentReference>
- Returns:
- a new instance of
AssignmentReference
- Throws:
NullPointerException
- if any required attribute was not provided
-