@Generated(value="software.amazon.awssdk:codegen") public final class AccountAssignment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountAssignment.Builder,AccountAssignment>
The assignment that indicates a principal's limited access to a specified Amazon Web Services account with a specified permission set.
The term principal here refers to a user or group that is defined in IAM Identity Center.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccountAssignment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The identifier of the Amazon Web Services account.
|
static AccountAssignment.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
permissionSetArn()
The ARN of the permission set.
|
String |
principalId()
An identifier for an object in IAM Identity Center, such as a user or group.
|
PrincipalType |
principalType()
The entity type for which the assignment will be created.
|
String |
principalTypeAsString()
The entity type for which the assignment will be created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccountAssignment.Builder> |
serializableBuilderClass() |
AccountAssignment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The identifier of the Amazon Web Services account.
public final 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.
public final 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.
public final PrincipalType principalType()
The entity type for which the assignment will be created.
If the service returns an enum value that is not available in the current SDK version, principalType
will return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
principalTypeAsString().
PrincipalTypepublic final String principalTypeAsString()
The entity type for which the assignment will be created.
If the service returns an enum value that is not available in the current SDK version, principalType
will return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
principalTypeAsString().
PrincipalTypepublic AccountAssignment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccountAssignment.Builder,AccountAssignment>public static AccountAssignment.Builder builder()
public static Class<? extends AccountAssignment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.