Interface BatchGetThreatModelJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetThreatModelJobsResponse.Builder,,BatchGetThreatModelJobsResponse> SdkBuilder<BatchGetThreatModelJobsResponse.Builder,,BatchGetThreatModelJobsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchGetThreatModelJobsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetThreatModelJobsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchGetThreatModelJobsResponse.Builder,BatchGetThreatModelJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of threat model job identifiers that were not found.notFound(Collection<String> notFound) The list of threat model job identifiers that were not found.threatModelJobs(Collection<ThreatModelJob> threatModelJobs) The list of threat model jobs that were found.threatModelJobs(Consumer<ThreatModelJob.Builder>... threatModelJobs) The list of threat model jobs that were found.threatModelJobs(ThreatModelJob... threatModelJobs) The list of threat model jobs 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
-
threatModelJobs
The list of threat model jobs that were found.
- Parameters:
threatModelJobs- The list of threat model jobs that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModelJobs
The list of threat model jobs that were found.
- Parameters:
threatModelJobs- The list of threat model jobs that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModelJobs
BatchGetThreatModelJobsResponse.Builder threatModelJobs(Consumer<ThreatModelJob.Builder>... threatModelJobs) The list of threat model jobs that were found.
This is a convenience method that creates an instance of theThreatModelJob.Builderavoiding the need to create one manually viaThreatModelJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothreatModelJobs(List<ThreatModelJob>).- Parameters:
threatModelJobs- a consumer that will call methods onThreatModelJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notFound
The list of threat model job identifiers that were not found.
- Parameters:
notFound- The list of threat model job identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFound
The list of threat model job identifiers that were not found.
- Parameters:
notFound- The list of threat model job identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-