Interface BatchGetThreatModelJobTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetThreatModelJobTasksResponse.Builder,,BatchGetThreatModelJobTasksResponse> SdkBuilder<BatchGetThreatModelJobTasksResponse.Builder,,BatchGetThreatModelJobTasksResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchGetThreatModelJobTasksResponse
@Mutable
@NotThreadSafe
public static interface BatchGetThreatModelJobTasksResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchGetThreatModelJobTasksResponse.Builder,BatchGetThreatModelJobTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of task identifiers that were not found.notFound(Collection<String> notFound) The list of task identifiers that were not found.threatModelJobTasks(Collection<ThreatModelJobTask> threatModelJobTasks) The list of threat model job tasks that were found.threatModelJobTasks(Consumer<ThreatModelJobTask.Builder>... threatModelJobTasks) The list of threat model job tasks that were found.threatModelJobTasks(ThreatModelJobTask... threatModelJobTasks) The list of threat model job tasks that were found.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
threatModelJobTasks
BatchGetThreatModelJobTasksResponse.Builder threatModelJobTasks(Collection<ThreatModelJobTask> threatModelJobTasks) The list of threat model job tasks that were found.
- Parameters:
threatModelJobTasks- The list of threat model job tasks that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModelJobTasks
BatchGetThreatModelJobTasksResponse.Builder threatModelJobTasks(ThreatModelJobTask... threatModelJobTasks) The list of threat model job tasks that were found.
- Parameters:
threatModelJobTasks- The list of threat model job tasks that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModelJobTasks
BatchGetThreatModelJobTasksResponse.Builder threatModelJobTasks(Consumer<ThreatModelJobTask.Builder>... threatModelJobTasks) The list of threat model job tasks that were found.
This is a convenience method that creates an instance of theThreatModelJobTask.Builderavoiding the need to create one manually viaThreatModelJobTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothreatModelJobTasks(List<ThreatModelJobTask>).- Parameters:
threatModelJobTasks- a consumer that will call methods onThreatModelJobTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notFound
The list of task identifiers that were not found.
- Parameters:
notFound- The list of task identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFound
The list of task identifiers that were not found.
- Parameters:
notFound- The list of task identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-