Class AccountAssignmentForPrincipal
- java.lang.Object
-
- software.amazon.awssdk.services.ssoadmin.model.AccountAssignmentForPrincipal
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AccountAssignmentForPrincipal.Builder,AccountAssignmentForPrincipal>
@Generated("software.amazon.awssdk:codegen") public final class AccountAssignmentForPrincipal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountAssignmentForPrincipal.Builder,AccountAssignmentForPrincipal>
A structure that describes an assignment of an Amazon Web Services account to a principal and the permissions that principal has in the account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AccountAssignmentForPrincipal.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountId()
The account ID number of the Amazon Web Services account.static AccountAssignmentForPrincipal.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 IAM Identity Center permission set assigned to this principal for this Amazon Web Services account.String
principalId()
The ID of the principal.PrincipalType
principalType()
The type of the principal.String
principalTypeAsString()
The type of the principal.List<SdkField<?>>
sdkFields()
static Class<? extends AccountAssignmentForPrincipal.Builder>
serializableBuilderClass()
AccountAssignmentForPrincipal.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 account ID number of the Amazon Web Services account.
- Returns:
- The account ID number of the Amazon Web Services account.
-
permissionSetArn
public final String permissionSetArn()
The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services account.
- Returns:
- The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services account.
-
principalId
public final String principalId()
The ID of the principal.
- Returns:
- The ID of the principal.
-
principalType
public final PrincipalType principalType()
The type of the principal.
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 type of the principal.
- See Also:
PrincipalType
-
principalTypeAsString
public final String principalTypeAsString()
The type of the principal.
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 type of the principal.
- See Also:
PrincipalType
-
toBuilder
public AccountAssignmentForPrincipal.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AccountAssignmentForPrincipal.Builder,AccountAssignmentForPrincipal>
-
builder
public static AccountAssignmentForPrincipal.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountAssignmentForPrincipal.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.
-
-