Interface AccountAssignment.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AccountAssignment.Builder,AccountAssignment>
,SdkBuilder<AccountAssignment.Builder,AccountAssignment>
,SdkPojo
- Enclosing class:
- AccountAssignment
@Mutable @NotThreadSafe public static interface AccountAssignment.Builder extends SdkPojo, CopyableBuilder<AccountAssignment.Builder,AccountAssignment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountAssignment.Builder
accountId(String accountId)
The identifier of the Amazon Web Services account.AccountAssignment.Builder
permissionSetArn(String permissionSetArn)
The ARN of the permission set.AccountAssignment.Builder
principalId(String principalId)
An identifier for an object in IAM Identity Center, such as a user or group.AccountAssignment.Builder
principalType(String principalType)
The entity type for which the assignment will be created.AccountAssignment.Builder
principalType(PrincipalType principalType)
The entity type for which the assignment will be created.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountId
AccountAssignment.Builder accountId(String accountId)
The identifier of the Amazon Web Services account.
- Parameters:
accountId
- The identifier of the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionSetArn
AccountAssignment.Builder permissionSetArn(String permissionSetArn)
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
- Parameters:
permissionSetArn
- The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalType
AccountAssignment.Builder principalType(String principalType)
The entity type for which the assignment will be created.
- Parameters:
principalType
- The entity type for which the assignment will be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PrincipalType
,PrincipalType
-
principalType
AccountAssignment.Builder principalType(PrincipalType principalType)
The entity type for which the assignment will be created.
- Parameters:
principalType
- The entity type for which the assignment will be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PrincipalType
,PrincipalType
-
principalId
AccountAssignment.Builder principalId(String 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
-