Interface ThreatModelJobTask.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ThreatModelJobTask.Builder,,ThreatModelJobTask> SdkBuilder<ThreatModelJobTask.Builder,,ThreatModelJobTask> SdkPojo
- Enclosing class:
ThreatModelJobTask
@Mutable
@NotThreadSafe
public static interface ThreatModelJobTask.Builder
extends SdkPojo, CopyableBuilder<ThreatModelJobTask.Builder,ThreatModelJobTask>
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space.The date and time the task was created, in UTC format.description(String description) A description of the task.executionStatus(String executionStatus) The current execution status of the task.executionStatus(TaskExecutionStatus executionStatus) The current execution status of the task.default ThreatModelJobTask.BuilderlogsLocation(Consumer<LogLocation.Builder> logsLocation) The location of the task execution logs.logsLocation(LogLocation logsLocation) The location of the task execution logs.The unique identifier of the task.threatModelId(String threatModelId) The unique identifier of the threat model associated with the task.threatModelJobId(String threatModelJobId) The unique identifier of the threat model job that contains the task.The title of the task.The date and time the task was last updated, in UTC format.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
-
taskId
The unique identifier of the task.
- Parameters:
taskId- The unique identifier of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModelId
The unique identifier of the threat model associated with the task.
- Parameters:
threatModelId- The unique identifier of the threat model associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModelJobId
The unique identifier of the threat model job that contains the task.
- Parameters:
threatModelJobId- The unique identifier of the threat model job that contains the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
The unique identifier of the agent space.
- Parameters:
agentSpaceId- The unique identifier of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the task.
- Parameters:
title- The 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.
-
executionStatus
The current execution status of the task.
- Parameters:
executionStatus- The current execution status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
The current execution status of the task.
- Parameters:
executionStatus- The current execution status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logsLocation
The location of the task execution logs.
- Parameters:
logsLocation- The location of the task execution logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logsLocation
The location of the task execution logs.
This is a convenience method that creates an instance of theLogLocation.Builderavoiding the need to create one manually viaLogLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologsLocation(LogLocation).- Parameters:
logsLocation- a consumer that will call methods onLogLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the task was created, in UTC format.
- Parameters:
createdAt- The date and time the task was created, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the task was last updated, in UTC format.
- Parameters:
updatedAt- The date and time the task was last updated, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-