@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAssignmentForPrincipal extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes an assignment of an Amazon Web Services account to a principal and the permissions that principal has in the account.
| Constructor and Description |
|---|
AccountAssignmentForPrincipal() |
| Modifier and Type | Method and Description |
|---|---|
AccountAssignmentForPrincipal |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID number of the Amazon Web Services account.
|
String |
getPermissionSetArn()
The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services
account.
|
String |
getPrincipalId()
The ID of the principal.
|
String |
getPrincipalType()
The type of the principal.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The account ID number of the Amazon Web Services account.
|
void |
setPermissionSetArn(String permissionSetArn)
The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services
account.
|
void |
setPrincipalId(String principalId)
The ID of the principal.
|
void |
setPrincipalType(String principalType)
The type of the principal.
|
String |
toString()
Returns a string representation of this object.
|
AccountAssignmentForPrincipal |
withAccountId(String accountId)
The account ID number of the Amazon Web Services account.
|
AccountAssignmentForPrincipal |
withPermissionSetArn(String permissionSetArn)
The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services
account.
|
AccountAssignmentForPrincipal |
withPrincipalId(String principalId)
The ID of the principal.
|
AccountAssignmentForPrincipal |
withPrincipalType(PrincipalType principalType)
The type of the principal.
|
AccountAssignmentForPrincipal |
withPrincipalType(String principalType)
The type of the principal.
|
public void setAccountId(String accountId)
The account ID number of the Amazon Web Services account.
accountId - The account ID number of the Amazon Web Services account.public String getAccountId()
The account ID number of the Amazon Web Services account.
public AccountAssignmentForPrincipal withAccountId(String accountId)
The account ID number of the Amazon Web Services account.
accountId - The account ID number of the Amazon Web Services account.public void setPermissionSetArn(String permissionSetArn)
The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services account.
permissionSetArn - The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services
account.public String getPermissionSetArn()
The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services account.
public AccountAssignmentForPrincipal withPermissionSetArn(String permissionSetArn)
The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services account.
permissionSetArn - The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services
account.public void setPrincipalId(String principalId)
The ID of the principal.
principalId - The ID of the principal.public String getPrincipalId()
The ID of the principal.
public AccountAssignmentForPrincipal withPrincipalId(String principalId)
The ID of the principal.
principalId - The ID of the principal.public void setPrincipalType(String principalType)
The type of the principal.
principalType - The type of the principal.PrincipalTypepublic String getPrincipalType()
The type of the principal.
PrincipalTypepublic AccountAssignmentForPrincipal withPrincipalType(String principalType)
The type of the principal.
principalType - The type of the principal.PrincipalTypepublic AccountAssignmentForPrincipal withPrincipalType(PrincipalType principalType)
The type of the principal.
principalType - The type of the principal.PrincipalTypepublic String toString()
toString in class ObjectObject.toString()public AccountAssignmentForPrincipal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.