@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 AWS account with a specified permission set.
The term principal here refers to a user or group that is defined in AWS SSO.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccountAssignment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The identifier of the AWS 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 AWS SSO, 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 AWS account.
public final String permissionSetArn()
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General 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 final String principalId()
An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.
public 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 © 2020. All rights reserved.