Class UserAccessResultItem
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<UserAccessResultItem.Builder,
UserAccessResultItem>
Contains information about a user's access to an application.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
app()
The name of the application.static UserAccessResultItem.Builder
builder()
final String
email()
The email address of the target user.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final ResultStatus
The status of the user access result item.final String
The status of the user access result item.static Class
<? extends UserAccessResultItem.Builder> final TaskError
Contains information about an error returned from a user access task.final String
taskId()
The unique ID of the task.final String
The display name of the tenant.final String
tenantId()
The ID of the application tenant.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The first name of the user.final String
The full name of the user.final String
userId()
The unique ID of user.final String
The last name of the user.final String
The status of the user returned by the application.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
app
-
tenantId
The ID of the application tenant.
- Returns:
- The ID of the application tenant.
-
tenantDisplayName
The display name of the tenant.
- Returns:
- The display name of the tenant.
-
taskId
-
resultStatus
The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
If the service returns an enum value that is not available in the current SDK version,
resultStatus
will returnResultStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresultStatusAsString()
.- Returns:
- The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
-
- See Also:
-
-
resultStatusAsString
The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
If the service returns an enum value that is not available in the current SDK version,
resultStatus
will returnResultStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresultStatusAsString()
.- Returns:
- The status of the user access result item.
The following states are possible:
-
IN_PROGRESS
: The user access task is in progress. -
COMPLETED
: The user access task completed successfully. -
FAILED
: The user access task failed. -
EXPIRED
: The user access task expired.
-
- See Also:
-
-
email
The email address of the target user.
- Returns:
- The email address of the target user.
-
userId
-
userFullName
-
userFirstName
The first name of the user.
- Returns:
- The first name of the user.
-
userLastName
-
userStatus
The status of the user returned by the application.
- Returns:
- The status of the user returned by the application.
-
taskError
Contains information about an error returned from a user access task.
- Returns:
- Contains information about an error returned from a user access task.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<UserAccessResultItem.Builder,
UserAccessResultItem> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-