Class AccountAssignment
- java.lang.Object
-
- software.amazon.awssdk.services.ssoadmin.model.AccountAssignment
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AccountAssignment.Builder,AccountAssignment>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AccountAssignment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends AccountAssignment.Builder>
serializableBuilderClass()
AccountAssignment.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountId
public final String accountId()
The identifier of the Amazon Web Services account.
- Returns:
- The identifier of the Amazon Web Services account.
-
permissionSetArn
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.
- Returns:
- 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.
-
principalId
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.
- Returns:
- 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.
-
principalType
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 returnPrincipalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprincipalTypeAsString()
.- Returns:
- The entity type for which the assignment will be created.
- See Also:
PrincipalType
-
principalTypeAsString
public 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 returnPrincipalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprincipalTypeAsString()
.- Returns:
- The entity type for which the assignment will be created.
- See Also:
PrincipalType
-
toBuilder
public AccountAssignment.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AccountAssignment.Builder,AccountAssignment>
-
builder
public static AccountAssignment.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountAssignment.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-