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 Stringapp()The name of the application.static UserAccessResultItem.Builderbuilder()final Stringemail()The email address of the target user.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final ResultStatusThe status of the user access result item.final StringThe status of the user access result item.static Class<? extends UserAccessResultItem.Builder> final TaskErrorContains information about an error returned from a user access task.final StringtaskId()The unique ID of the task.final StringThe display name of the tenant.final StringtenantId()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 StringtoString()Returns a string representation of this object.final StringThe first name of the user.final StringThe full name of the user.final StringuserId()The unique ID of user.final StringThe last name of the user.final StringThe status of the user returned by the application.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
app
The name of the application.
- Returns:
- The name of the application.
-
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
The unique ID of the task.
- Returns:
- The unique ID of the task.
-
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,
resultStatuswill 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,
resultStatuswill 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
The unique ID of user.
- Returns:
- The unique ID of user.
-
userFullName
The full name of the user.
- Returns:
- The full name of the user.
-
userFirstName
The first name of the user.
- Returns:
- The first name of the user.
-
userLastName
The last name of the user.
- Returns:
- The last name of the user.
-
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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UserAccessResultItem.Builder,UserAccessResultItem> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
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. -
getValueForField
-
sdkFields
-