Interface Task.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Task.Builder,,Task> SdkBuilder<Task.Builder,,Task> SdkPojo
- Enclosing class:
Task
@Mutable
@NotThreadSafe
public static interface Task.Builder
extends SdkPojo, CopyableBuilder<Task.Builder,Task>
-
Method Summary
Modifier and TypeMethodDescriptionThe control identifier.The timestamp when the task was created.The identity of the principal who created the task.description(String description) A description of the task.The deadline for the task.environment(String environment) The name of the governance environment the task belongs to.The name of the compliance framework.frameworkVersion(String frameworkVersion) The version of the compliance framework.The relative priority of the item.priority(TaskPriority priority) The relative priority of the item.The name of the project.The current lifecycle state of the task.status(TaskStatus status) The current lifecycle state of the task.The identifier of the task.The human-readable title of the task.The timestamp when the task was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
environment
The name of the governance environment the task belongs to.
- Parameters:
environment- The name of the governance environment the task belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The name of the project.
- Parameters:
project- The name of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
framework
The name of the compliance framework.
- Parameters:
framework- The name of the compliance framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkVersion
The version of the compliance framework.
- Parameters:
frameworkVersion- The version of the compliance framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlId
The control identifier. Optional. If omitted, the operation applies to the full framework.
- Parameters:
controlId- The control identifier. Optional. If omitted, the operation applies to the full framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
The identifier of the task.
- Parameters:
taskId- The identifier of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The human-readable title of the task.
- Parameters:
title- The human-readable title of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the task.
- Parameters:
description- A description of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle state of the task.
- Parameters:
status- The current lifecycle state of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle state of the task.
- Parameters:
status- The current lifecycle state of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdBy
The identity of the principal who created the task.
- Parameters:
createdBy- The identity of the principal who created the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dueAt
The deadline for the task.
- Parameters:
dueAt- The deadline for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The relative priority of the item.
- Parameters:
priority- The relative priority of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The relative priority of the item.
- Parameters:
priority- The relative priority of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the task was created.
- Parameters:
createdAt- The timestamp when the task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the task was last updated.
- Parameters:
updatedAt- The timestamp when the task was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-