@Generated(value="software.amazon.awssdk:codegen") public final class UserIdentity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserIdentity.Builder,UserIdentity>
Information about a user whose activity is recorded in an event for a space.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserIdentity.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awsAccountId()
The Amazon Web Services account number of the user in Amazon Web Services, if any.
|
static UserIdentity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principalId()
The ID of the Amazon CodeCatalyst service principal.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UserIdentity.Builder> |
serializableBuilderClass() |
UserIdentity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The display name of the user in Amazon CodeCatalyst.
|
UserType |
userType()
The role assigned to the user in a Amazon CodeCatalyst space or project when the event occurred.
|
String |
userTypeAsString()
The role assigned to the user in a Amazon CodeCatalyst space or project when the event occurred.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UserType userType()
The role assigned to the user in a Amazon CodeCatalyst space or project when the event occurred.
If the service returns an enum value that is not available in the current SDK version, userType will
return UserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
userTypeAsString().
UserTypepublic final String userTypeAsString()
The role assigned to the user in a Amazon CodeCatalyst space or project when the event occurred.
If the service returns an enum value that is not available in the current SDK version, userType will
return UserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
userTypeAsString().
UserTypepublic final String principalId()
The ID of the Amazon CodeCatalyst service principal.
public final String userName()
The display name of the user in Amazon CodeCatalyst.
public final String awsAccountId()
The Amazon Web Services account number of the user in Amazon Web Services, if any.
public UserIdentity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserIdentity.Builder,UserIdentity>public static UserIdentity.Builder builder()
public static Class<? extends UserIdentity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.