Class User
- java.lang.Object
-
- software.amazon.awssdk.services.finspacedata.model.User
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<User.Builder,User>
@Generated("software.amazon.awssdk:codegen") public final class User extends Object implements SdkPojo, Serializable, ToCopyableBuilder<User.Builder,User>
The details of the user.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiAccessapiAccess()Indicates whether the user can use theGetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.StringapiAccessAsString()Indicates whether the user can use theGetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.StringapiAccessPrincipalArn()The ARN identifier of an AWS user or role that is allowed to call theGetProgrammaticAccessCredentialsAPI to obtain a credentials token for a specific FinSpace user.static User.Builderbuilder()LongcreateTime()The timestamp at which the user was created in FinSpace.StringemailAddress()The email address of the user.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfirstName()The first name of the user.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastDisabledTime()Describes the last time the user was deactivated.LonglastEnabledTime()Describes the last time the user was activated.LonglastLoginTime()Describes the last time that the user logged into their account.LonglastModifiedTime()Describes the last time the user was updated.StringlastName()The last name of the user.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends User.Builder>serializableBuilderClass()UserStatusstatus()The current status of the user.StringstatusAsString()The current status of the user.User.BuildertoBuilder()StringtoString()Returns a string representation of this object.UserTypetype()Indicates the type of user.StringtypeAsString()Indicates the type of user.StringuserId()The unique identifier for the user.-
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
-
userId
public final String userId()
The unique identifier for the user.
- Returns:
- The unique identifier for the user.
-
status
public final UserStatus status()
The current status of the user.
-
CREATING– The user creation is in progress. -
ENABLED– The user is created and is currently active. -
DISABLED– The user is currently inactive.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnUserStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the user.
-
CREATING– The user creation is in progress. -
ENABLED– The user is created and is currently active. -
DISABLED– The user is currently inactive.
-
- See Also:
UserStatus
-
-
statusAsString
public final String statusAsString()
The current status of the user.
-
CREATING– The user creation is in progress. -
ENABLED– The user is created and is currently active. -
DISABLED– The user is currently inactive.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnUserStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the user.
-
CREATING– The user creation is in progress. -
ENABLED– The user is created and is currently active. -
DISABLED– The user is currently inactive.
-
- See Also:
UserStatus
-
-
firstName
public final String firstName()
The first name of the user.
- Returns:
- The first name of the user.
-
lastName
public final String lastName()
The last name of the user.
- Returns:
- The last name of the user.
-
emailAddress
public final String emailAddress()
The email address of the user. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.
- Returns:
- The email address of the user. The email address serves as a uniquer identifier for each user and cannot be changed after it's created.
-
type
public final UserType type()
Indicates the type of user.
-
SUPER_USER– A user with permission to all the functionality and data in FinSpace. -
APP_USER– A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
If the service returns an enum value that is not available in the current SDK version,
typewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Indicates the type of user.
-
SUPER_USER– A user with permission to all the functionality and data in FinSpace. -
APP_USER– A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
-
- See Also:
UserType
-
-
typeAsString
public final String typeAsString()
Indicates the type of user.
-
SUPER_USER– A user with permission to all the functionality and data in FinSpace. -
APP_USER– A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
If the service returns an enum value that is not available in the current SDK version,
typewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Indicates the type of user.
-
SUPER_USER– A user with permission to all the functionality and data in FinSpace. -
APP_USER– A user with specific permissions in FinSpace. The users are assigned permissions by adding them to a permission group.
-
- See Also:
UserType
-
-
apiAccess
public final ApiAccess apiAccess()
Indicates whether the user can use the
GetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.-
ENABLED– The user has permissions to use the APIs. -
DISABLED– The user does not have permissions to use any APIs.
If the service returns an enum value that is not available in the current SDK version,
apiAccesswill returnApiAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapiAccessAsString().- Returns:
- Indicates whether the user can use the
GetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.-
ENABLED– The user has permissions to use the APIs. -
DISABLED– The user does not have permissions to use any APIs.
-
- See Also:
ApiAccess
-
-
apiAccessAsString
public final String apiAccessAsString()
Indicates whether the user can use the
GetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.-
ENABLED– The user has permissions to use the APIs. -
DISABLED– The user does not have permissions to use any APIs.
If the service returns an enum value that is not available in the current SDK version,
apiAccesswill returnApiAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapiAccessAsString().- Returns:
- Indicates whether the user can use the
GetProgrammaticAccessCredentialsAPI to obtain credentials that can then be used to access other FinSpace Data API operations.-
ENABLED– The user has permissions to use the APIs. -
DISABLED– The user does not have permissions to use any APIs.
-
- See Also:
ApiAccess
-
-
apiAccessPrincipalArn
public final String apiAccessPrincipalArn()
The ARN identifier of an AWS user or role that is allowed to call the
GetProgrammaticAccessCredentialsAPI to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.- Returns:
- The ARN identifier of an AWS user or role that is allowed to call the
GetProgrammaticAccessCredentialsAPI to obtain a credentials token for a specific FinSpace user. This must be an IAM role within your FinSpace account.
-
createTime
public final Long createTime()
The timestamp at which the user was created in FinSpace. The value is determined as epoch time in milliseconds.
- Returns:
- The timestamp at which the user was created in FinSpace. The value is determined as epoch time in milliseconds.
-
lastEnabledTime
public final Long lastEnabledTime()
Describes the last time the user was activated. The value is determined as epoch time in milliseconds.
- Returns:
- Describes the last time the user was activated. The value is determined as epoch time in milliseconds.
-
lastDisabledTime
public final Long lastDisabledTime()
Describes the last time the user was deactivated. The value is determined as epoch time in milliseconds.
- Returns:
- Describes the last time the user was deactivated. The value is determined as epoch time in milliseconds.
-
lastModifiedTime
public final Long lastModifiedTime()
Describes the last time the user was updated. The value is determined as epoch time in milliseconds.
- Returns:
- Describes the last time the user was updated. The value is determined as epoch time in milliseconds.
-
lastLoginTime
public final Long lastLoginTime()
Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.
- Returns:
- Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.
-
toBuilder
public User.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<User.Builder,User>
-
builder
public static User.Builder builder()
-
serializableBuilderClass
public static Class<? extends User.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo
-
-