Interface UserAccessResultItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserAccessResultItem.Builder,UserAccessResultItem>,SdkBuilder<UserAccessResultItem.Builder,UserAccessResultItem>,SdkPojo
- Enclosing class:
- UserAccessResultItem
public static interface UserAccessResultItem.Builder extends SdkPojo, CopyableBuilder<UserAccessResultItem.Builder,UserAccessResultItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UserAccessResultItem.Builderapp(String app)The name of the application.UserAccessResultItem.Builderemail(String email)The email address of the target user.UserAccessResultItem.BuilderresultStatus(String resultStatus)The status of the user access result item.UserAccessResultItem.BuilderresultStatus(ResultStatus resultStatus)The status of the user access result item.default UserAccessResultItem.BuildertaskError(Consumer<TaskError.Builder> taskError)Contains information about an error returned from a user access task.UserAccessResultItem.BuildertaskError(TaskError taskError)Contains information about an error returned from a user access task.UserAccessResultItem.BuildertaskId(String taskId)The unique ID of the task.UserAccessResultItem.BuildertenantDisplayName(String tenantDisplayName)The display name of the tenant.UserAccessResultItem.BuildertenantId(String tenantId)The ID of the application tenant.UserAccessResultItem.BuilderuserFirstName(String userFirstName)The first name of the user.UserAccessResultItem.BuilderuserFullName(String userFullName)The full name of the user.UserAccessResultItem.BuilderuserId(String userId)The unique ID of user.UserAccessResultItem.BuilderuserLastName(String userLastName)The last name of the user.UserAccessResultItem.BuilderuserStatus(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, sdkFields
-
-
-
-
Method Detail
-
app
UserAccessResultItem.Builder app(String 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
UserAccessResultItem.Builder tenantId(String 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
UserAccessResultItem.Builder tenantDisplayName(String 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
UserAccessResultItem.Builder taskId(String 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
UserAccessResultItem.Builder resultStatus(String 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,ResultStatus
-
-
resultStatus
UserAccessResultItem.Builder resultStatus(ResultStatus 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,ResultStatus
-
-
email
UserAccessResultItem.Builder email(String 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
UserAccessResultItem.Builder userId(String 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
UserAccessResultItem.Builder userFullName(String 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
UserAccessResultItem.Builder userFirstName(String 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
UserAccessResultItem.Builder userLastName(String 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
UserAccessResultItem.Builder userStatus(String 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
UserAccessResultItem.Builder taskError(TaskError 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
default UserAccessResultItem.Builder taskError(Consumer<TaskError.Builder> taskError)
Contains information about an error returned from a user access task.
This is a convenience method that creates an instance of theTaskError.Builderavoiding the need to create one manually viaTaskError.builder().When the
Consumercompletes,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:
taskError(TaskError)
-
-