Interface UserAccessTaskItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserAccessTaskItem.Builder,
,UserAccessTaskItem> SdkBuilder<UserAccessTaskItem.Builder,
,UserAccessTaskItem> SdkPojo
- Enclosing class:
UserAccessTaskItem
public static interface UserAccessTaskItem.Builder
extends SdkPojo, CopyableBuilder<UserAccessTaskItem.Builder,UserAccessTaskItem>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the application.default UserAccessTaskItem.Builder
error
(Consumer<TaskError.Builder> error) Error from the task, if any.Error from the task, if any.The unique ID of the task.The ID of the application tenant.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 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.
-
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.
-
error
Error from the task, if any.
- Parameters:
error
- Error from the task, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Error from the task, if any.
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 toerror(TaskError)
.- Parameters:
error
- 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:
-