Interface UserAccessResultItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserAccessResultItem.Builder,
,UserAccessResultItem> SdkBuilder<UserAccessResultItem.Builder,
,UserAccessResultItem> SdkPojo
- Enclosing class:
UserAccessResultItem
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the application.The email address of the target user.resultStatus
(String resultStatus) The status of the user access result item.resultStatus
(ResultStatus resultStatus) The status of the user access result item.default UserAccessResultItem.Builder
taskError
(Consumer<TaskError.Builder> taskError) Contains information about an error returned from a user access task.Contains information about an error returned from a user access task.The unique ID of the task.tenantDisplayName
(String tenantDisplayName) The display name of the tenant.The ID of the application tenant.userFirstName
(String userFirstName) The first name of the user.userFullName
(String userFullName) The full name of the user.The unique ID of user.userLastName
(String userLastName) The last name of the user.userStatus
(String userStatus) The status of the user returned by the application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
app
The name of the application.
- Parameters:
app
- The name of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenantId
The ID of the application tenant.
- Parameters:
tenantId
- The ID of the application tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenantDisplayName
The display name of the tenant.
- Parameters:
tenantDisplayName
- The display name of the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
The unique ID of the task.
- Parameters:
taskId
- The unique ID of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
email
The email address of the target user.
- Parameters:
email
- The email address of the target user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The unique ID of user.
- Parameters:
userId
- The unique ID of user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userFullName
The full name of the user.
- Parameters:
userFullName
- The full name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userFirstName
The first name of the user.
- Parameters:
userFirstName
- The first name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userLastName
The last name of the user.
- Parameters:
userLastName
- The last name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userStatus
The status of the user returned by the application.
- Parameters:
userStatus
- The status of the user returned by the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskError
Contains information about an error returned from a user access task.
- Parameters:
taskError
- Contains information about an error returned from a user access task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskError
Contains information about an error returned from a user access task.
This is a convenience method that creates an instance of theTaskError.Builder
avoiding the need to create one manually viaTaskError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskError(TaskError)
.- Parameters:
taskError
- a consumer that will call methods onTaskError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-